[SCM] quassel packaging branch, master, updated. debian/1%0.10.0-2.4-20-gfa6dbfa
Felix Geyer
fgeyer at moszumanska.debian.org
Sun Sep 6 18:39:43 UTC 2015
Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/quassel.git;a=commitdiff;h=630c256
The following commit has been merged in the master branch:
commit 630c25672dfc7b749f19522d9a22c64f18f082ea
Author: Felix Geyer <fgeyer at debian.org>
Date: Sun Sep 6 20:20:14 2015 +0200
Stop hardcoding the path to deluser / delgroup in postrm.
---
debian/changelog | 1 +
debian/quassel-core.postrm | 4 ++--
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 336fe7f..8cfb657 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -18,6 +18,7 @@ quassel (1:0.12.2-1) UNRELEASED; urgency=medium
* Pass --fail-missing to dh_install.
* Create the SSL certificate as user quasselcore to avoid a symlink race
condition. (Closes: #753737)
+ * Stop hardcoding the path to deluser / delgroup in postrm.
[ Scott Kitterman ]
* Add systemd service file and associated changes for quasselcore.
diff --git a/debian/quassel-core.postrm b/debian/quassel-core.postrm
index a6da2f3..6a1cf24 100644
--- a/debian/quassel-core.postrm
+++ b/debian/quassel-core.postrm
@@ -10,12 +10,12 @@ QUASSEL_USER=quasselcore
case "$1" in
purge)
echo "Deleting $QUASSEL_USER user ..."
- if [ -x /usr/sbin/deluser ]; then
+ if which deluser > /dev/null; then
deluser --quiet --system $QUASSEL_USER
fi
echo "Deleting $QUASSEL_GROUP group ..."
- if [ -x /usr/sbin/deluser ]; then
+ if which delgroup > /dev/null; then
delgroup --quiet --system $QUASSEL_GROUP
fi
--
quassel packaging
More information about the pkg-kde-commits
mailing list