[Commits] [SCM] clawsker branch, master, updated. 1.0.1-16-gbf38f1b
mones at claws-mail.org
mones at claws-mail.org
Thu Jan 19 10:12:25 CET 2017
The branch, master has been updated
via bf38f1be9e7d77eb375fcaa81da0331c0a60af16 (commit)
from f6fe59f697fbb491686a8a8ad81496bab4f4b256 (commit)
Summary of changes:
clawsker | 2 ++
1 file changed, 2 insertions(+)
- Log -----------------------------------------------------------------
commit bf38f1be9e7d77eb375fcaa81da0331c0a60af16
Author: Ricardo Mones <ricardo at mones.org>
Date: Thu Jan 19 10:12:03 2017 +0100
Do not fail comparing with empty versions
This completes commit 1ba1e151247c687b8183e82a4fa8ce667d68fe10.
diff --git a/clawsker b/clawsker
index 13a0d99..6594bd7 100755
--- a/clawsker
+++ b/clawsker
@@ -296,6 +296,8 @@ use constant PAGE_SPC => 5;
sub version_greater_or_equal {
my ($version, $refvers) = @_;
+ return TRUE if (length($version) == 0 and length($refvers) >= 0);
+ return FALSE if (length($version) >= 0 and length($refvers) == 0);
return TRUE if (version->parse($version) >= version->parse($refvers));
return FALSE;
}
-----------------------------------------------------------------------
hooks/post-receive
--
Hidden preferences editor for Claws Mail
More information about the Commits
mailing list