Changeset 652 in ProjectBuilder for devel/pb-modules
- Timestamp:
- Jan 14, 2009, 1:47:26 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/pb-modules/lib/ProjectBuilder/Distribution.pm
r647 r652 106 106 $dtype="rpm"; 107 107 $dsuf=".$ddir$dver"; 108 $dupd="export TERM=linux ; export PATH=\$PATH:/sbin:/usr/sbin ; sudo yast2 - y";108 $dupd="export TERM=linux ; export PATH=\$PATH:/sbin:/usr/sbin ; sudo yast2 -i "; 109 109 } elsif (($ddir =~ /redhat/) || 110 110 ($ddir =~ /rhel/) || … … 412 412 pb_log(2,"found deps: $_\n"); 413 413 s/$regexp/$1/; 414 # Remove conditions 415 s/>[=]*.*,//g; 414 # Remove conditions in the middle and at the end 415 s/[><=]+.*,/,/g; 416 s/[><=]+.*$//g; 416 417 # Improve string format (remove , and spaces at start, end and in double 417 s/,/ /g;418 s/,/ /g; 418 419 s/^\s*//; 419 420 s/\s*$//;
Note:
See TracChangeset
for help on using the changeset viewer.