[-]
[+]
|
Changed |
nagios-plugins-check-updates.changes
|
|
[-]
[+]
|
Changed |
nagios-plugins-check-updates.spec
^
|
|
[-]
[+]
|
Added |
check_updates-1.7.5-outputfix.diff
^
|
@@ -0,0 +1,23 @@
+--- check_updates.orig 2019-08-20 09:48:03.000000000 +0200
++++ check_updates 2019-10-02 22:54:15.640032551 +0200
+@@ -486,6 +486,9 @@
+ my $arguments = shift;
+ my $yum_command = shift;
+
++
++ $ENV{'LANG'} = 'C';
++
+ # per default check updates
+ # --assumeno to avoid a timeout when the GPG key is not present
+ # we need to process STDERR to catch errors (e.g., missing GPG key)
+@@ -537,8 +540,10 @@
+ if ( $line =~ /^Last[ ]metadata[ ]expiration/imxs
+ || $line =~ /^Loaded[ ]plugins:/imxs
+ || $line =~ /^Loading[ ]mirror[ ]speeds/imxs
++ || $line =~ /^Including[ ]mirror:/imxs
+ || $line =~ /[ ].B\/s[ ][|][ ]/imxs
+ || $line =~ /^No\ security\ updates/imxs
++ || $line =~ /packages[ ]excluded/imxs
+ || $line =~
+ /^Security:[ ].*is[ ]an[ ]installed[ ]security[ ]update/imxs
+ || $line =~
|