Ignore:
Timestamp:
Jan 14, 2009, 1:47:26 AM (15 years ago)
Author:
Bruno Cornec
Message:
  • Improves SuSE 11.1 build
  • Improves ntp handling in VMs (depending on distro)
  • Removes > version deps type at the end of line also
File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/pb-modules/lib/ProjectBuilder/Distribution.pm

    r647 r652  
    106106    $dtype="rpm";
    107107    $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 ";
    109109} elsif (($ddir =~ /redhat/) ||
    110110        ($ddir =~ /rhel/) ||
     
    412412    pb_log(2,"found deps: $_\n");
    413413    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;
    416417    # Improve string format (remove , and spaces at start, end and in double
    417     s/,//g;
     418    s/,/ /g;
    418419    s/^\s*//;
    419420    s/\s*$//;
Note: See TracChangeset for help on using the changeset viewer.