Changeset 1926 in ProjectBuilder
- Timestamp:
- Dec 26, 2014, 11:36:48 PM (10 years ago)
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
0.12.7/pb/bin/pb
r1925 r1926 4360 4360 my $pb = shift; 4361 4361 my $pbos = shift; 4362 my $archp = undef; 4363 4362 my $archp = $pbos->{'arch'}; 4363 4364 # Only used for Debian as of now 4364 4365 # Either we have an Architecture: all (deb noarch) in the control file or we have the arch we're building for 4365 4366 # We look after this info in the tar built during previous phases hoping it's still available and valid 4366 4367 # If not, we rebuild it 4367 my $src2="$ENV{'PBDESTDIR'}/$pb->{'realpkg'}-$pb->{'ver'}$pb->{'extdir'}.pbconf.tar.gz";4368 pb_system("cd $ENV{'PBBUILDDIR'} ; tar xfz $src2","Extracting pbconf","","quiet");4369 4368 if ($pbos->{'type'} eq "deb") { 4370 my $ctrlf = "$pb->{'realpkg'}-$pb->{'ver'}$pb->{'extdir'}/pbconf/$pbos->{'name'}-$pbos->{'version'}-$pbos->{'arch'}/control"; 4369 my $ctrlf = "$ENV{'PBBUILDDIR'}/$pb->{'realpkg'}-$pb->{'ver'}$pb->{'extdir'}/pbconf/$pbos->{'name'}-$pbos->{'version'}-$pbos->{'arch'}/control"; 4370 pb_system("cd $ENV{'PBBUILDDIR'} ; tar xfz $ENV{'PBDESTDIR'}/$pb->{'realpkg'}-$pb->{'ver'}$pb->{'extdir'}.pbconf.tar.gz","Extracting pbconf","","quiet") if (! -f $ctrlf ); 4371 4371 open(CTRL, $ctrlf) || die "Unable to read $ctrlf"; 4372 $archp = $pbos->{'arch'};4373 4372 while (<CTRL>) { 4374 4373 $archp = "all" if (/^Architecture:\s*all/); -
devel/pb-modules/etc/pb.conf
r1917 r1926 678 678 ospathcmd-halt mageia-1 = /sbin/halt 679 679 ospathcmd-halt mageia-2 = /sbin/halt 680 ospathcmd-halt mandriva-2007.0 = /usr/bin/halt 680 681 ospathcmd-halt mageia = /usr/bin/halt 681 682
Note:
See TracChangeset
for help on using the changeset viewer.