summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaouda Lo <daouda@mandriva.com>2005-12-02 12:22:16 +0000
committerDaouda Lo <daouda@mandriva.com>2005-12-02 12:22:16 +0000
commit872eb7374ebfa13e5aee1487996ad6bf5b993877 (patch)
treec0598a4110c9e58885bf0bc0b1ff317d986acba4
parent83cc56fffc9a0f1ca05f7baa187255ef096fd869 (diff)
downloadmgaonline-872eb7374ebfa13e5aee1487996ad6bf5b993877.tar
mgaonline-872eb7374ebfa13e5aee1487996ad6bf5b993877.tar.gz
mgaonline-872eb7374ebfa13e5aee1487996ad6bf5b993877.tar.bz2
mgaonline-872eb7374ebfa13e5aee1487996ad6bf5b993877.tar.xz
mgaonline-872eb7374ebfa13e5aee1487996ad6bf5b993877.zip
- display update even if server is out of sync
-rwxr-xr-xmdkupdate2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdkupdate b/mdkupdate
index 9f02c3e4..1255e32b 100755
--- a/mdkupdate
+++ b/mdkupdate
@@ -107,7 +107,7 @@ if ($o{LOGIN} && $o{PASS} && $o{LOGIN} !~ /\s+/ && $o{PASS} !~ /\s+/) {
if ($opt eq '--applet') {
my $rpm_exec_name = $release >= 2006.0 ? "/usr/bin/MandrivaUpdate" : "/usr/bin/MandrakeUpdate";
my $is_no_media_update = $release <= 10.1 ? '' : "--no-media-update";
- system $rpm_exec_name, "--no-confirmation", $is_no_media_update, "--media=update_source", "--pkg-sel=$scheduled", "--pkg-nosel=$noscheduled";
+ system $rpm_exec_name, "--no-confirmation", $is_no_media_update, "--media=update_source";
} elsif ($opt eq '--noX') {
my $in = interactive->vnew;
my $pkgs = ask_pkgs($in);