commit: 93cd8eab4b5d259d7b1b67b7fb815fe916b5d6c8
parent 1c5754c32c6568b3aac98de8e2eb2ac12493be3d
Author: Mathieu Goessens <mathieu@breizh-entropy.org>
Date: Mon, 24 Dec 2012 11:40:10 +0100
remove user and pam hack when removing widrop-common package (WIP)
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/pkg/widrop-common/DEBIAN/postrm b/src/pkg/widrop-common/DEBIAN/postrm
@@ -2,6 +2,9 @@
case $1 in
"remove")
+ userdel widrop
+ pam-auth-update --package
+
sed -i '/# BEGIN WIDROP/,/# END WIDROP/s/\(.*\)\|\\n//' /etc/network/interfaces
;;
esac