--- 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 (<FH>) {
- /^\$zpush_version\s+=\s+"(?<version>[\d.]+)/ and return $+{version};
+ /^\$zpush_version\s+=\s+"(?<version>[\d.-]+)/ and return $+{version};
}
close(FH);
@@ -112,7 +112,7 @@
if ( $zpb || m|<h3>Z-Push Backend</h3>| ) {
$zpb = 1;
m|<h3>Z-Push Backend/older releases</h3>| and last;
- m|>Version\s+(?<version>[\d.]+)<| and return $+{version};
+ m|>z-push-(?<version>[\d.-]+).tar.gz<| and return $+{version};
}
}
@@ -182,7 +182,7 @@
=head1 VERSION
-This man page is current for version 0.1 of B<check_zpush>.
+This man page is current for version 0.2 of B<check_zpush>.
=head1 AUTHOR