diff options
author | intrigeri <intrigeri@boum.org> | 2015-08-28 14:04:21 +0000 |
---|---|---|
committer | intrigeri <intrigeri@boum.org> | 2015-08-28 14:06:53 +0000 |
commit | 5d6cbd920dc248291bdeea3f257fce548b6bad92 (patch) | |
tree | 945a8543936d2233a6c6b73f2018105358f07f18 | |
parent | b66eba7071e05024bfbfcae329cf0086879ae7a5 (diff) |
Don't prepend full path to ucf in postrm.
Spotted by Lintian's command-with-path-in-maintainer-script warning.
-rw-r--r-- | debian/postrm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/postrm b/debian/postrm index 5677f42..a6d2dc8 100644 --- a/debian/postrm +++ b/debian/postrm @@ -5,7 +5,7 @@ set -e 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 |