Changeset 735 for devel/pb/bin/pb


Ignore:
Timestamp:
Mar 12, 2009, 1:10:21 AM (11 years ago)
Author:
Bruno Cornec
Message:
  • pb now differentiates suse (aka SuSE Professional) and opensuse. Fix original #40
File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/pb/bin/pb

    r728 r735  
    20972097    print SCRIPT << 'EOF';
    20982098# Suse wants sudoers as 640
    2099 if (($ddir eq "sles") || (($ddir eq "suse")) && ($dver =~ /10.[012]/)) {
     2099if (($ddir eq "sles") || (($ddir eq "opensuse") && ($dver =~ /10.[012]/))) {
    21002100    chmod 0640,$file;
    21012101}
     
    22102210    pb_system("$insfb","$cmtfb");
    22112211    pb_system("$insms","$cmtms");
    2212 } elsif (( $dfam eq "rh" ) || ($ddir eq "sles") || (($ddir eq "suse") && (($dver eq "10.1") || ($dver eq "10.0"))) || ($ddir eq "slackware")) {
     2212} elsif (( $dfam eq "rh" ) || ($ddir eq "suse") || ($ddir eq "sles") || (($ddir eq "opensuse") && (($dver eq "10.1") || ($dver eq "10.0"))) || ($ddir eq "slackware")) {
    22132213    # Suppose pkg are installed already as no online mirror available
    22142214    pb_system("rpm -e lsb 2>&1 > /dev/null","Removing lsb package");
     
    22182218    pb_system("$insfb","$cmtfb");
    22192219    pb_system("$insms","$cmtms");
    2220 } elsif ($ddir eq "suse") {
     2220} elsif ($ddir eq "opensuse") {
    22212221    # New OpenSuSE
    22222222    pb_distro_installdeps(undef,$dtype,$pbupd,pb_distro_only_deps_needed($dtype,"make wget patch sudo ntp"));
Note: See TracChangeset for help on using the changeset viewer.