diff --git a/debian/config b/debian/config index b1c9fc6..84159db 100755 --- a/debian/config +++ b/debian/config @@ -6,7 +6,7 @@ # Ask questions... IF NECESSARY if test -n "$2" then - if test "`echo $2 | sed -e 's/[.-]//g'`" -lt 127 -o ! -e /etc/slay_mode \ + if dpkg --compare-versions $2 lt 1.2.7 || test ! -e /etc/slay_mode \ -o $1 = reconfigure then db_input low slay/punish || true