From b335a0dce27c0b1b705f9d190d454e69c245dd8d Mon Sep 17 00:00:00 2001 From: Jamie Cameron Date: Sat, 9 Sep 2017 16:59:56 -0700 Subject: [PATCH] Don't set source to security https://github.com/webmin/webmin/issues/603 --- software/yum-lib.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/software/yum-lib.pl b/software/yum-lib.pl index fc6cb4b823..ff7a5702d6 100755 --- a/software/yum-lib.pl +++ b/software/yum-lib.pl @@ -286,7 +286,7 @@ sub set_yum_security_field if (/^\S+\s+\S+\s+(\S+?)\-([0-9]\S+)\.([^\.]+)$/) { local ($name, $ver) = ($1, $2); if ($done->{$name}) { - $done->{$name}->{'source'} = 'security'; + $done->{$name}->{'source'} ||= 'security'; $done->{$name}->{'security'} = 1; } }