summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaouda Lo <daouda@mandriva.com>2005-01-20 10:48:19 +0000
committerDaouda Lo <daouda@mandriva.com>2005-01-20 10:48:19 +0000
commit9e114895870650b5eb7193272330745fade7ae2e (patch)
treeda11e1ca00b807b6397ad866c83408cb811449e7
parent4bf41983509ef63f7427fffa33e434af3256b4f7 (diff)
downloadmgaonline-9e114895870650b5eb7193272330745fade7ae2e.tar
mgaonline-9e114895870650b5eb7193272330745fade7ae2e.tar.gz
mgaonline-9e114895870650b5eb7193272330745fade7ae2e.tar.bz2
mgaonline-9e114895870650b5eb7193272330745fade7ae2e.tar.xz
mgaonline-9e114895870650b5eb7193272330745fade7ae2e.zip
- fix cloberred file
-rwxr-xr-xmdkupdate2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdkupdate b/mdkupdate
index f0b9bd60..c0b04595 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=update_source", "--pkg-sel=$scheduled", "--pkg-nosel=$noscheduled"
+ system "/usr/bin/MandrakeUpdate", "--no-confirmation", "--no-media-update", "--media=update_source", "--pkg-sel=$scheduled", "--pkg-nosel=$noscheduled"
} elsif ($opt eq '--auto') {
$o{AUTO} eq 'TRUE' and auto_install_rpms($c2h->{sched})
}