summaryrefslogtreecommitdiffstats
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
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
-rw-r--r--NEWS3
-rwxr-xr-xmdkapplet-restricted-helper2
2 files changed, 4 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index e3f264e5..bae4b0e6 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+- mdkapplet-restricted-helper
+ o make sure added media names match our naming policy
+
Version 2.68.2 - 20 November 2008
- mdkapplet-restricted-helper
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());
}
}