[SCM] Debian packaging of Pinto CPAN distribution branch, master, updated. 6e45abe348a93daa2a7ab1934f96042ddf77584d
Oleg Gashev
oleg at gashev.net
Mon Jun 3 19:29:18 UTC 2013
The following commit has been merged in the master branch:
commit 6e45abe348a93daa2a7ab1934f96042ddf77584d
Author: Oleg Gashev <oleg at gashev.net>
Date: Mon Jun 3 19:27:59 2013 +0000
Added deleting pinto user to package purge.
diff --git a/debian/pinto.postrm b/debian/pinto.postrm
index e67b3d3..e58e782 100644
--- a/debian/pinto.postrm
+++ b/debian/pinto.postrm
@@ -9,6 +9,13 @@ case "$1" in
rm -rf /var/log/pinto;
rmdir /var/pinto 2> /dev/null || true;
rmdir /var/run/pinto 2> /dev/null || true;
+
+ # delete pinto daemon user, if it exists
+ if getent passwd pinto > /dev/null ; then
+ echo "Deleting pinto user."
+ deluser --quiet pinto > /dev/null || true
+ fi
+
;;
remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
--
Debian packaging of Pinto CPAN distribution
More information about the Pkg-perl-cvs-commits
mailing list