diff options
author | Daouda Lo <daouda@mandriva.com> | 2005-01-07 14:12:12 +0000 |
---|---|---|
committer | Daouda Lo <daouda@mandriva.com> | 2005-01-07 14:12:12 +0000 |
commit | 16e9669d75910cb7725860642cf30ec84c9c254a (patch) | |
tree | 7cbfa10ef59ec6325ff4f045ebad09e10837a85a | |
parent | 6b959f3d8f8598162ac3c2c348d38f749774b5b0 (diff) | |
download | mgaonline-16e9669d75910cb7725860642cf30ec84c9c254a.tar mgaonline-16e9669d75910cb7725860642cf30ec84c9c254a.tar.gz mgaonline-16e9669d75910cb7725860642cf30ec84c9c254a.tar.bz2 mgaonline-16e9669d75910cb7725860642cf30ec84c9c254a.tar.xz mgaonline-16e9669d75910cb7725860642cf30ec84c9c254a.zip |
- New command-line option --no-media-update to Mandrakeupdate, to avoid
updating media at startup
-rwxr-xr-x | mdkupdate | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -96,7 +96,7 @@ if ($o{LOGIN} && $o{PASS} && $o{LOGIN} !~ /\s+/ && $o{PASS} !~ /\s+/) { #printf "SCHEDULED = $scheduled\nNOSCHEDULED = $noscheduled\n"; -f $currentrpm or rpm_qa($currentrpm); if ($opt eq '--applet') { - system "/usr/bin/MandrakeUpdate", "--no-confirmation", "--media=mdkupdate", "--pkg-sel=$scheduled", "--pkg-nosel=$noscheduled" + system "/usr/bin/MandrakeUpdate", "--no-confirmation", "--no-media-update", "--media=mdkupdate", "--pkg-sel=$scheduled", "--pkg-nosel=$noscheduled" } elsif ($opt eq '--auto') { $o{AUTO} eq 'TRUE' and auto_install_rpms($c2h->{sched}) } |