summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 {