summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5c1efa1)
raw | patch | inline | side by side (parent: 5c1efa1)
author | Sebastian Harl <sh@tokkee.org> | |
Wed, 2 May 2007 07:20:25 +0000 (09:20 +0200) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Wed, 2 May 2007 07:20:25 +0000 (09:20 +0200) |
"lt-nl" treats an empty version as larger than any other version which is the
desired behavior when checking for an upgrade from v3 to v4.
desired behavior when checking for an upgrade from v3 to v4.
debian/collectd.config | patch | blob | history |
diff --git a/debian/collectd.config b/debian/collectd.config
index 09a47036104d4d8021244b6fb0fa773a2994f04b..0a57dc8e28f8c0cb5b1a0326d6b6b4633f37f38f 100755 (executable)
--- a/debian/collectd.config
+++ b/debian/collectd.config
configure)
db_set collectd/auto-migrate-3-4 false
- if dpkg --compare-versions "$2" lt "4.0.0~"; then
+ if dpkg --compare-versions "$2" lt-nl "4.0.0~"; then
db_input high collectd/auto-migrate-3-4 || true
db_go || true
fi
exit 0
-