summaryrefslogtreecommitdiffstats
path: root/mdkapplet-restricted-helper
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-12-01 14:21:02 +0000
committerThierry Vignaud <tv@mandriva.org>2008-12-01 14:21:02 +0000
commit7ac5334693b6b5d5afe4aa5d6a7ff81b5fe55b39 (patch)
tree9d05c72d22c6d9b77312c1dad4c1396ee51789c2 /mdkapplet-restricted-helper
parentb5d9b3a8ebfe20c78a427ba647bd84d5d18ce821 (diff)
downloadmgaonline-7ac5334693b6b5d5afe4aa5d6a7ff81b5fe55b39.tar
mgaonline-7ac5334693b6b5d5afe4aa5d6a7ff81b5fe55b39.tar.gz
mgaonline-7ac5334693b6b5d5afe4aa5d6a7ff81b5fe55b39.tar.bz2
mgaonline-7ac5334693b6b5d5afe4aa5d6a7ff81b5fe55b39.tar.xz
mgaonline-7ac5334693b6b5d5afe4aa5d6a7ff81b5fe55b39.zip
(add_restricted_medium) simplify
Diffstat (limited to 'mdkapplet-restricted-helper')
-rwxr-xr-xmdkapplet-restricted-helper3
1 files changed, 1 insertions, 2 deletions
diff --git a/mdkapplet-restricted-helper b/mdkapplet-restricted-helper
index 69f9bace..89200a0a 100755
--- a/mdkapplet-restricted-helper
+++ b/mdkapplet-restricted-helper
@@ -130,7 +130,6 @@ sub add_restricted_medium {
my @options = ({ sensitive_arguments => 1 }, 'urpmi.addmedia', '--update');
my $uri = "https://" . uri_escape($ref->{data}{email}) . ":$password\@dl.mandriva.com/rpm/comm/2009.0/";
my $arch = urpm::cfg::get_arch();
- run_program::raw(@options, 'Restricted ' . int(rand(100000)),
- "$uri$arch");
+ run_program::raw(@options, 'Restricted ' . int(rand(100000)), "$uri$arch");
}
}