Changeset 2324 in ProjectBuilder for devel/pb-modules/lib/ProjectBuilder
- Timestamp:
- Sep 24, 2017, 12:09:33 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/pb-modules/lib/ProjectBuilder/Distribution.pm
r2289 r2324 165 165 $pbos->{'family'} = pb_distro_get_param($pbos,pb_conf_get("osfamily")); 166 166 $pbos->{'type'} = pb_distro_get_param($pbos,pb_conf_get("ostype")); 167 ($pbos->{'os'},$pbos->{'install'},$pbos->{'suffix'},$pbos->{'nover'},$pbos->{'rmdot'},$pbos->{'update'} ) = pb_distro_get_param($pbos,pb_conf_get("os","osins","ossuffix","osnover","osremovedotinver","osupd"));167 ($pbos->{'os'},$pbos->{'install'},$pbos->{'suffix'},$pbos->{'nover'},$pbos->{'rmdot'},$pbos->{'update'},$pbos->{'localinstall'}) = pb_distro_get_param($pbos,pb_conf_get("os","osins","ossuffix","osnover","osremovedotinver","osupd","oslocalins")); 168 168 #($pbos->{'family'},$pbos->{'type'},$pbos->{'os'},$pbos->{'install'},$pbos->{'suffix'},$pbos->{'nover'},$pbos->{'rmdot'},$pbos->{'update'}) = pb_distro_get_param($pbos,pb_conf_get("osfamily","ostype","os","osins","ossuffix","osnover","osremovedotinver","osupd")); 169 169 … … 354 354 my $forcerepo = shift; 355 355 my $deps = shift; # optional list of deps to install 356 my $local = shift; # optional should we install local packages or remote (for deb command is different) 356 357 357 358 # Protection … … 369 370 # This may not be // proof. We should test for availability of repo and sleep if not 370 371 my $cmd = "$pbos->{'install'} $deps"; 372 $cmd = "$pbos->{'localinstall'} $deps" if (defined $local); 371 373 my $ret = pb_system($cmd, "Installing dependencies ($cmd)","mayfail"); 372 374 # Try to accomodate deficient proxies
Note:
See TracChangeset
for help on using the changeset viewer.