[-]
[+]
|
Changed |
nagios-plugins-check-updates.changes
|
|
[-]
[+]
|
Changed |
nagios-plugins-check-updates.spec
^
|
|
[-]
[+]
|
Added |
check_updates-1.7.10-outputfix.diff
^
|
@@ -0,0 +1,24 @@
+--- check_updates.orig 2020-03-16 20:44:46.550074048 +0100
++++ check_updates 2020-03-16 20:50:29.617053723 +0100
+@@ -520,6 +520,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)
+@@ -571,8 +574,11 @@
+ if ( $line =~ /^Last[ ]metadata[ ]expiration/imxs
+ || $line =~ /^Loaded[ ]plugins:/imxs
+ || $line =~ /^Loading[ ]mirror[ ]speeds/imxs
++ || $line =~ /^Including[ ]mirror:/imxs
++ || $line =~ /^Excluding[ ]mirror:/imxs
+ || $line =~ /[ ].B\/s[ ][|][ ]/imxs
+ || $line =~ /^No[ ]security[ ]updates/imxs
++ || $line =~ /packages[ ]excluded/imxs
+ || $line =~
+ /^Repository[ ]'.*' is missing name in configuration, using id/imxs
+ || $line =~
|
|
Added |
check_updates-1.7.10.tar.gz
^
|