diff options
author | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2018-11-16 20:06:54 +0000 |
---|---|---|
committer | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2018-11-25 18:07:30 +0000 |
commit | f2caaa0e357b2a321fe5e26b08c4c1ad50c96be2 (patch) | |
tree | 086ceeb68eef837801343430aaf8e5691ea689b4 | |
parent | c1592abdd07d7db513646c3bf75d1808cad0d638 (diff) | |
download | qarepo-f2caaa0e357b2a321fe5e26b08c4c1ad50c96be2.tar qarepo-f2caaa0e357b2a321fe5e26b08c4c1ad50c96be2.tar.gz qarepo-f2caaa0e357b2a321fe5e26b08c4c1ad50c96be2.tar.bz2 qarepo-f2caaa0e357b2a321fe5e26b08c4c1ad50c96be2.tar.xz qarepo-f2caaa0e357b2a321fe5e26b08c4c1ad50c96be2.zip |
Avoid false positive when checking updates_testing media are enabled.
-rw-r--r-- | qarepo | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -372,7 +372,7 @@ sub dialogue_dismiss { sub check_no_testing_media { my ($message2) = @_; - if (system("urpmq --list-url | grep -q updates_testing") == 0) { + if (system("urpmq --list-media active --list-url | grep -q updates_testing") == 0) { my $message1 = "Some updates_testing media are enabled."; my $message3 = "Please disable these media and try again."; show_error_dialogue(($message1, $message2, $message3)); |