summaryrefslogtreecommitdiffstats
path: root/mdkonline.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2010-01-27 15:00:08 +0000
committerThierry Vignaud <tv@mandriva.org>2010-01-27 15:00:08 +0000
commitafc86ac00241d369799dd65c0ebaebcc4f83d18f (patch)
treea2663832085ce2986f8897863261b9949caa67c4 /mdkonline.pm
parent3ec6a5eca250c09005c371625d206fa40770421f (diff)
downloadmgaonline-afc86ac00241d369799dd65c0ebaebcc4f83d18f.tar
mgaonline-afc86ac00241d369799dd65c0ebaebcc4f83d18f.tar.gz
mgaonline-afc86ac00241d369799dd65c0ebaebcc4f83d18f.tar.bz2
mgaonline-afc86ac00241d369799dd65c0ebaebcc4f83d18f.tar.xz
mgaonline-afc86ac00241d369799dd65c0ebaebcc4f83d18f.zip
(get_urpmi_options) fix adding media on 2008.0 where --xml-info option
is not supported
Diffstat (limited to 'mdkonline.pm')
-rw-r--r--mdkonline.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdkonline.pm b/mdkonline.pm
index dec9f9d1..2cc279f3 100644
--- a/mdkonline.pm
+++ b/mdkonline.pm
@@ -172,7 +172,7 @@ sub get_banner {
}
sub get_urpmi_options() {
- ({ sensitive_arguments => 1 }, 'urpmi.addmedia', '--xml-info', 'always');
+ ({ sensitive_arguments => 1 }, 'urpmi.addmedia', if_(!is_it_2008_0(), '--xml-info', 'always'));
}
sub is_running {