From 6379737970c4686e4e17a40d659dbb4942643425 Mon Sep 17 00:00:00 2001 From: Thomas Keller Date: Tue, 28 Dec 2010 01:55:12 +0100 Subject: [PATCH] monotone.pm: while we're still only checking the major and minor part of the version number of the monotone binary, we do not want to give false alarm on patch or development versions --- IkiWiki/Plugin/monotone.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IkiWiki/Plugin/monotone.pm b/IkiWiki/Plugin/monotone.pm index 75bf2f458..02690b10e 100644 --- a/IkiWiki/Plugin/monotone.pm +++ b/IkiWiki/Plugin/monotone.pm @@ -42,7 +42,7 @@ sub checkconfig () { my $version=undef; while () { - if (/^monotone (\d+\.\d+) /) { + if (/^monotone (\d+\.\d+)(?:(?:\.\d+){0,2}|dev)? /) { $version=$1; } } -- 2.32.0.93.g670b81a890