summaryrefslogtreecommitdiffstats
path: root/mdkapplet-restricted-helper
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-11-24 00:36:18 +0000
committerThierry Vignaud <tv@mandriva.org>2008-11-24 00:36:18 +0000
commit1686cacfad815a6ad6979389c9715c6b395023bb (patch)
tree242b0942a7927277190027ebbde4c4ec336722f0 /mdkapplet-restricted-helper
parentf99fe901385ce9d35305a03f7e9097194610ec6a (diff)
downloadmgaonline-1686cacfad815a6ad6979389c9715c6b395023bb.tar
mgaonline-1686cacfad815a6ad6979389c9715c6b395023bb.tar.gz
mgaonline-1686cacfad815a6ad6979389c9715c6b395023bb.tar.bz2
mgaonline-1686cacfad815a6ad6979389c9715c6b395023bb.tar.xz
mgaonline-1686cacfad815a6ad6979389c9715c6b395023bb.zip
(add_restricted_medium) make sure added media names match our naming policy
Diffstat (limited to 'mdkapplet-restricted-helper')
-rwxr-xr-xmdkapplet-restricted-helper2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdkapplet-restricted-helper b/mdkapplet-restricted-helper
index f81aa889..1b2ed34e 100755
--- a/mdkapplet-restricted-helper
+++ b/mdkapplet-restricted-helper
@@ -127,7 +127,7 @@ sub add_restricted_medium {
$in->ask_warn(N("Error"), N("An error occurred") . "\n" . $ref->{message});
goto &get_restricted_authentication;
} else {
- run_program::raw({ sensitive_arguments => 1 }, 'urpmi.addmedia', '--update', 'Restricted Update ' . int(rand(100000)),
+ run_program::raw({ sensitive_arguments => 1 }, 'urpmi.addmedia', '--update', 'Restricted Updates ' . int(rand(100000)),
"https://" . uri_escape($ref->{data}{email}) . ":$password\@dl.mandriva.com/rpm/comm/2009.0/" . urpm::cfg::get_arch());
}
}