Ignore:
Timestamp:
Feb 15, 2009, 10:05:00 PM (15 years ago)
Author:
Bruno Cornec
Message:
  • Differentiate between Scripts for VE and VM with 2 tags
  • Have a working newve, setupve and cms2ve sequence for rinse and centos5 at least (rest to be tested)
  • Planned usage of chroot (tested) and schroot (not tested)
  • Remove the external locale dependece to use the one provided by perl !
  • Fix CentOS support in Distribution module
File:
1 edited

Legend:

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

    r652 r681  
    258258    'vmware'                => 'VMware ESX Server (\d+) \(',
    259259    'rhel'                  => 'Red Hat (?:Enterprise Linux|Linux Advanced Server) .*release ([0-9.]+).* \(',
    260     'centos'                => '.*CentOS .*release (.+) ',
     260    'centos'                => '.*CentOS .*release ([0-9]).* ',
    261261    'redhat'                => 'Red Hat Linux release (.+) \(',
    262262    'sles'                  => 'SUSE .* Enterprise Server (\d+) \(',
     
    411411    # What we found with the regexp is the list of deps.
    412412    pb_log(2,"found deps: $_\n");
    413     s/$regexp/$1/;
     413    s/$regexp/$1/i;
    414414    # Remove conditions in the middle and at the end
    415415    s/[><=]+.*,/,/g;
Note: See TracChangeset for help on using the changeset viewer.