Changeset 10 for devel/dploy
- Timestamp:
- 05/16/07 19:25:23 (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
r8 r10 4 4 # For the dploy.org project 5 5 # Provided under the GPL v2 6 # 7 # $Id$ 6 8 # 7 9 … … 36 38 # Check for errors 37 39 # 38 39 40 die "Unable to find $mrepoconffile" if (! (-f $mrepoconffile)); 40 41 die "Unable to find $metamrepoconffile" if (! (-f $metamrepoconffile)); 42 41 43 # 42 44 # For the main config file analysis … … 169 171 # Prepare the repoview structure automatically with mrepo 170 172 # 171 chdir $wwwdir || die "Unable to change dir to $wwwdir";173 die "Unable to access $wwwdir" if (! -d $wwwdir); 172 174 # 173 175 print "Purging previous mrepo environement\n"; 174 176 system "/usr/bin/mrepo -c $mrepoconffile --unmount"; 175 system "rm -rf *";177 system "rm -rf $wwwdir/*"; 176 178 print "Creating new mrepo environement\n"; 177 179 system "/usr/bin/mrepo -c $mrepoconffile -vvvvvv -g";
Note: See TracChangeset
for help on using the changeset viewer.
