Changeset 2012 in ProjectBuilder for devel/pb/bin/pb
- Timestamp:
- Oct 12, 2015, 12:17:48 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/pb/bin/pb
r2005 r2012 2199 2199 # By default force GPG check in repo even if we support signature of packages to fail. This is a best practice 2200 2200 $pbgpgcheck = 1 if (not defined $pbgpgcheck); 2201 # Also make a pbscript to generate yum/urpmi bases2201 # Also make a pbscript to generate dnf/yum/urpmi bases 2202 2202 print PBS << "EOF"; 2203 2203 #!/bin/bash 2204 # Prepare a script to ease yum setup2204 # Prepare a script to ease dnf/yum setup 2205 2205 EOF 2206 2206 print PBS "set -x\n" if ($pbdebug gt 1); … … 3797 3797 3798 3798 # First install all required packages 3799 pb_system("yum clean all","Cleaning yum env","mayfail") if (($pbos->{'name'} eq "fedora") || ($pbos->{'name'} eq "asianux") || ($pbos->{'name'} eq "rhel")); 3799 pb_system("dnf clean all","Cleaning dnf env","mayfail") if (($pbos->{'name'} eq "fedora") && ($pbos->{'version'} >= 22)); 3800 pb_system("yum clean all","Cleaning yum env","mayfail") if ((($pbos->{'name'} eq "fedora") && ($pbos->{'version'} < 22)) || ($pbos->{'name'} eq "asianux") || ($pbos->{'name'} eq "rhel")); 3800 3801 my ($ospkgdep) = pb_conf_get_if("ospkgdep"); 3801 3802
Note:
See TracChangeset
for help on using the changeset viewer.