Changeset 1181 for devel/rpmbootstrap


Ignore:
Timestamp:
Feb 12, 2011, 1:56:42 AM (8 years ago)
Author:
bruno
Message:
  • Fix rpmbootstrap and pb newve order, which wasn't working after the latest pbos introduction
  • rpmbootstrap wasn't using the right conf file when launched with sudo is fixed by using the SUDO_USER env. var.
  • pb.conf rbsmirrorsrv now uses pbos var, and is filtered correctly.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/rpmbootstrap/bin/rpmbootstrap

    r1177 r1181  
    230230
    231231if (not defined $vepath) {
    232     my ($vestdpath) = pb_conf_get_if("vepath");
    233     $vepath = "$vestdpath->{'default'}/$pbos->{'name'}/$pbos->{'version'}/$pbos->{'arch'}";
     232    my ($vestdpath) = pb_conf_get("vepath");
     233    $vepath = "$vestdpath->{'default'}/$pbos->{'name'}/$pbos->{'version'}/$pbos->{'arch'}" if (defined $vestdpath->{'default'});
    234234}
    235235
     
    242242#
    243243my ($rbscachedir) = pb_conf_get_if("rbscachedir");
    244 my ($pkgs,$mirror) = pb_distro_get_param($pbos->{'name'},$pbos->{'version'},$pbos->{'arch'},pb_conf_get("rbsmindep","rbsmirrorsrv"));
     244my ($pkgs,$mirror) = pb_distro_get_param($pbos,pb_conf_get("rbsmindep","rbsmirrorsrv"));
    245245
    246246my $cachedir = "/var/cache/rpmbootstrap";
Note: See TracChangeset for help on using the changeset viewer.