[SCM] mpd-sima/master: Revert "Better error handling in postrm script"
kaliko-guest at users.alioth.debian.org
kaliko-guest at users.alioth.debian.org
Fri Feb 17 13:31:35 UTC 2012
The following commit has been merged in the master branch:
commit 75bbb87b21902ed2cbf6e98c70e40a2215120762
Author: Geoffroy Youri Berret <efrim at azylum.org>
Date: Fri Feb 17 13:10:38 2012 +0100
Revert "Better error handling in postrm script"
This reverts commit 19cccc51798814783fcd89778f6e8591e2c75823.
Git-Dch: Ignore
diff --git a/debian/mpd-sima.postrm b/debian/mpd-sima.postrm
index 3325093..84b3361 100755
--- a/debian/mpd-sima.postrm
+++ b/debian/mpd-sima.postrm
@@ -13,11 +13,15 @@ do_mpd_sima_purge () {
done
# delete user
if getent passwd mpd-sima >/dev/null; then
- deluser --system mpd-sima || echo "Could not remove user \"mpd-sima\"" >&2
+ if [ -x /usr/sbin/deluser ]; then
+ deluser --system mpd-sima
+ fi
fi
# delete group
if getent group mpd-sima >/dev/null; then
- delgroup mpd-sima || echo "Could not remove group \"mpd-sima\"" >&2
+ if [ -x /usr/sbin/delgroup ]; then
+ delgroup mpd-sima
+ fi
fi
# remove log files
rm -rf /var/log/mpd-sima
--
mpd-sima packaging
More information about the pkg-multimedia-commits
mailing list