summaryrefslogtreecommitdiffstats
path: root/mdkupdate
diff options
context:
space:
mode:
authorDaouda Lo <daouda@mandriva.com>2005-01-07 14:12:12 +0000
committerDaouda Lo <daouda@mandriva.com>2005-01-07 14:12:12 +0000
commit16e9669d75910cb7725860642cf30ec84c9c254a (patch)
tree7cbfa10ef59ec6325ff4f045ebad09e10837a85a /mdkupdate
parent6b959f3d8f8598162ac3c2c348d38f749774b5b0 (diff)
downloadmgaonline-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
Diffstat (limited to 'mdkupdate')
-rwxr-xr-xmdkupdate2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdkupdate b/mdkupdate
index 926a7039..f9ec8510 100755
--- a/mdkupdate
+++ b/mdkupdate
@@ -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})
}