Changeset 12 for devel/dploy
- Timestamp:
- 05/16/07 20:09:04 (5 years ago)
- File:
-
- 1 edited
-
devel/dploy/bin/mrepo-dploy.org (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
devel/dploy/bin/mrepo-dploy.org
r10 r12 89 89 90 90 foreach $d (split(/ /,$distro)) { 91 my $distrodir="$mrepobasedir/$d";92 if (! (-d $distrodir)) {93 printf "Unable to find $distrodir for distribution $d\n" ;94 next;95 }91 #my $distrodir="$mrepobasedir/$d"; 92 #if (! (-d $distrodir)) { 93 #printf "Unable to find $distrodir for distribution $d\n" ; 94 #next; 95 #} 96 96 print "Generating conf file for $d\n"; 97 97 open(CONF, "> $mrepoconfdir/$d.conf") || die "Unable to create $mrepoconfdir/$d.conf: $!"; … … 121 121 $iso =~ s/\$upd/$u/; 122 122 $iso =~ s/\$version/$v/; 123 # For RHEL we should remove ux or Ux for base distro 123 124 $iso =~ s/-[uU]0// if ($u eq 0); 124 125 printf CONF "iso = $iso\n"; … … 177 178 system "rm -rf $wwwdir/*"; 178 179 print "Creating new mrepo environement\n"; 179 system "/usr/bin/mrepo -c $mrepoconffile - vvvvvv -g";180 system "/usr/bin/mrepo -c $mrepoconffile -g"; 180 181 opendir(DIR, $wwwdir) || die "Unable to parse $wwwdir directory: $!"; 181 182 my @subdir = grep { ! /^\./ && -f "$_" } readdir(DIR);
Note: See TracChangeset
for help on using the changeset viewer.
