[SCM] mpd-sima/master: Fixed lintian warning about absolute path
kaliko-guest at users.alioth.debian.org
kaliko-guest at users.alioth.debian.org
Tue Sep 15 18:57:04 UTC 2015
The following commit has been merged in the master branch:
commit 214b4926dd693a5d0868befb2a716537dbbfe1dc
Author: Geoffroy Youri Berret <efrim at azylum.org>
Date: Tue Sep 15 19:05:55 2015 +0200
Fixed lintian warning about absolute path
diff --git a/debian/mpd-sima.postrm b/debian/mpd-sima.postrm
index da654e9..d7dd939 100755
--- a/debian/mpd-sima.postrm
+++ b/debian/mpd-sima.postrm
@@ -13,13 +13,13 @@ do_mpd_sima_purge () {
done
# delete user
if getent passwd mpd-sima >/dev/null; then
- if [ -x /usr/sbin/deluser ]; then
+ if which deluser>/dev/null; then
deluser --system mpd-sima
fi
fi
# delete group
if getent group mpd-sima >/dev/null; then
- if [ -x /usr/sbin/delgroup ]; then
+ if which delgroup>/dev/null; then
delgroup mpd-sima
fi
fi
--
mpd-sima packaging
More information about the pkg-multimedia-commits
mailing list