aboutsummaryrefslogtreecommitdiffstats
path: root/debian/postrm
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2007-07-06 00:39:47 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2007-07-06 00:39:47 +0100
commite90044208fc88636f843cdd188faa12e5db8c1c0 (patch)
tree1238997e7436af5192ce8e127a783d3d687a9ff4 /debian/postrm
parent9da0bbfd42609f0f3864b5a16a3c1c378b7217c9 (diff)
parent19a8088455308088139d0b2f6a8d0d4fbf982b29 (diff)
Merging from devel. Added documentation for the join_chat command, adding
a debian/ tree and a merge from Jelmer (mainly unittest stuff).
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