--- 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 = '<a.*>Avira AntiVir WebGate / Avira WebGate Suite</a>.*(?:\n.*){4}<td>(\d+\.\d+\.\d+\.[\d-]+)</td>';
-$opt_b = "/usr/lib/AntiVir/avwebgate.bin";
+$opt_s = '<a.*>Avira AntiVir WebGate / Avira WebGate Suite</a>.*(?:\n.*){4}<td>(\d+\.\d+\.\d+\.[\d]+)(-\d+)?</td>';
+$opt_b = "/usr/lib/AntiVir/webgate/avwebgate.bin";
Getopt::Long::Configure('bundling');
GetOptions(