diff --git a/debian/postrm b/debian/postrm index 5677f42..a6d2dc8 100644 --- a/debian/postrm +++ b/debian/postrm @@ -5,7 +5,7 @@ case "$1" in purge) # Remove metche.conf from ucf's database if ucf is available - if [ -x /usr/bin/ucf ]; then + if which ucf >/dev/null; then ucf --purge /etc/metche.conf fi