summaryrefslogtreecommitdiffstats
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
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
-rw-r--r--NEWS1
-rw-r--r--mdkonline.pm2
2 files changed, 2 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 7589af70..603c3080 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,6 @@
- mdkapplet-extended-maintenance-helper
o better banner titles
+ o fix adding media on 2008.0 where --xml-info option is not supported
o fix getting password when not embedded in mcc
- mdkapplet
o better notification message for no longuer supported distro
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 {