diff -r 393117a14e2a -r 434f50dc22c0 check_avwebgate.pl --- a/check_avwebgate.pl Fri Jul 01 15:51:03 2011 +0200 +++ b/check_avwebgate.pl Tue Jul 05 12:21:50 2011 +0200 @@ -14,14 +14,14 @@ sub print_usage(); my $ME = basename $0; -my $VERSION = '1.1'; +my $VERSION = '1.2'; my ( $opt_u, $opt_s, $opt_V, $opt_h, $opt_b ); my ( $result, $found, $message, $version, $current_version ); $opt_u = 'http://www.avira.com/de/support-download-avira-antivir-webgate'; -$opt_s = 'Avira AntiVir WebGate / Avira WebGate Suite.*(?:\n.*){4}(\d+\.\d+\.\d+\.[\d-]+)'; -$opt_b = "/usr/lib/AntiVir/avwebgate.bin"; +$opt_s = 'Avira AntiVir WebGate / Avira WebGate Suite.*(?:\n.*){4}(\d+\.\d+\.\d+\.[\d]+)(-\d+)?'; +$opt_b = "/usr/lib/AntiVir/webgate/avwebgate.bin"; Getopt::Long::Configure('bundling'); GetOptions(