summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2010-01-26 16:48:25 +0000
committerThierry Vignaud <tv@mandriva.org>2010-01-26 16:48:25 +0000
commitfff5416ebf26c65e6b03a063e7073883bb058b44 (patch)
tree3362b281aa77197359172d1115fd7f199fbd6163
parentec82d7615fafa6d11f680fac76d9a2f5664183b3 (diff)
downloadmgaonline-fff5416ebf26c65e6b03a063e7073883bb058b44.tar
mgaonline-fff5416ebf26c65e6b03a063e7073883bb058b44.tar.gz
mgaonline-fff5416ebf26c65e6b03a063e7073883bb058b44.tar.bz2
mgaonline-fff5416ebf26c65e6b03a063e7073883bb058b44.tar.xz
mgaonline-fff5416ebf26c65e6b03a063e7073883bb058b44.zip
stop pretending to get an url as argument
-rwxr-xr-xmdkapplet1
-rwxr-xr-xmdkapplet-extended-maintenance-helper4
2 files changed, 2 insertions, 3 deletions
diff --git a/mdkapplet b/mdkapplet
index 31fc05ae..c9c0ef97 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -518,7 +518,6 @@ sub no_more_supported() {
sub get_extended_maintenance() {
$mdv_update_pid = fork_exec('mdkapplet-extended-maintenance-helper', $product_id->{version},
- $extended_maintenance_url,
if_($download_all, "--download-all=$download_dir"),
if_($root, "--urpmi-root=$root"));
}
diff --git a/mdkapplet-extended-maintenance-helper b/mdkapplet-extended-maintenance-helper
index ab75fe14..533c8b0c 100755
--- a/mdkapplet-extended-maintenance-helper
+++ b/mdkapplet-extended-maintenance-helper
@@ -49,9 +49,9 @@ foreach my $opt (@ARGV) {
undef $opt;
}
}
-my ($version, $url) = @ARGV;
+my ($version) = @ARGV;
-$version or die "usage: $0 <distrib_version> <url>\n";
+$version or die "usage: $0 <distrib_version>\n";
# make it work on 2008.1:
eval { interactive::gtk::add_padding(Gtk2::Label->new) };