diff -r 8aa45e0a1a68 -r eb75c08db691 check_zpush.pl --- a/check_zpush.pl Wed Jun 15 15:43:03 2011 +0200 +++ b/check_zpush.pl Tue Jul 05 09:42:12 2011 +0200 @@ -43,7 +43,7 @@ my $ME = basename $0; my $NAME = "Z-PUSH"; -my $VERSION = "0.1"; +my $VERSION = "0.2"; my %opt = ( url => "http://developer.berlios.de/project/showfiles.php?group_id=8963", @@ -90,7 +90,7 @@ or say "$NAME CRITICAL: $file - $!." and exit $ERRORS{CRITICAL}; while () { - /^\$zpush_version\s+=\s+"(?[\d.]+)/ and return $+{version}; + /^\$zpush_version\s+=\s+"(?[\d.-]+)/ and return $+{version}; } close(FH); @@ -112,7 +112,7 @@ if ( $zpb || m|

Z-Push Backend

| ) { $zpb = 1; m|

Z-Push Backend/older releases

| and last; - m|>Version\s+(?[\d.]+)<| and return $+{version}; + m|>z-push-(?[\d.-]+).tar.gz<| and return $+{version}; } } @@ -182,7 +182,7 @@ =head1 VERSION -This man page is current for version 0.1 of B. +This man page is current for version 0.2 of B. =head1 AUTHOR