aboutsummaryrefslogtreecommitdiffstats
path: root/debian/postrm
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2007-07-06 00:36:48 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2007-07-06 00:36:48 +0100
commit19a8088455308088139d0b2f6a8d0d4fbf982b29 (patch)
tree1e6f275cbd76855637ceb1580f376cfee8852281 /debian/postrm
parentae3c4fae12b09b30bb49477696b10ae5beb8ef4b (diff)
Adding debian/ tree to the repository again. Updated it to include all
1.0.x versions and some other changes. Might soon start building snapshots again. :-)
Diffstat (limited to 'debian/postrm')
-rwxr-xr-xdebian/postrm11
1 files changed, 11 insertions, 0 deletions
diff --git a/debian/postrm b/debian/postrm
new file mode 100755
index 00000000..cef99f13
--- /dev/null
+++ b/debian/postrm
@@ -0,0 +1,11 @@
+#!/bin/sh -e
+
+[ "$1" = "purge" ] || exit 0
+
+if [ -e /usr/share/debconf/confmodule ]; then
+ . /usr/share/debconf/confmodule;
+ db_purge;
+fi
+
+update-rc.d bitlbee remove > /dev/null 2>&1 || true
+deluser --remove-home bitlbee || true