--- loncom/build/Attic/CHECKRPMS.default 2002/09/05 18:09:54 1.5 +++ loncom/build/Attic/CHECKRPMS.default 2002/09/05 21:17:31 1.6 @@ -53,14 +53,14 @@ Scott Harrison, sharrison@users.sourcefo # =================================================== READ IN COMMAND ARGUMENTS # ---------------------------------------------------- Process download option. my $download=shift(@ARGV); -if ($download eq '--download') +if ($download eq '--download' or $download eq '--redownload') { if ($< != 0) # Download mode requires 'root'. { print('**** ERROR **** Download mode needs to be run as root'."\n"); exit(1); # Exit with error status. } - `rm -Rf /tmp/loncapa_rpm_updates`; + `rm -Rf /tmp/loncapa_rpm_updates` if $download eq '--download'; $download='-v -dl -d /tmp/loncapa_rpm_updates'; # Part of check-rpms args. } else @@ -135,7 +135,7 @@ SERVERLOOP: foreach my $serverpath (@ser { $|=1; # Try to send things immediately to stdout; err umm.... # Tell the user about the /tmp/loncapa_rpm_updates directory. - print('**** NOTE ****'. + print('**** NOTE **** '. 'To check the status of the download, you can '. 'periodically inspect the contents of the '. '/tmp/loncapa_rpm_updates directory. '.