aboutsummaryrefslogtreecommitdiffstats
path: root/debian/prerm
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/prerm
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/prerm')
-rwxr-xr-xdebian/prerm8
1 files changed, 8 insertions, 0 deletions
diff --git a/debian/prerm b/debian/prerm
new file mode 100755
index 00000000..c02b13f4
--- /dev/null
+++ b/debian/prerm
@@ -0,0 +1,8 @@
+#!/bin/sh -e
+
+if [ "$1" = "upgrade" ]; then
+ ## To prevent the help function from breaking in currently running BitlBee processes
+ rm -f /usr/share/bitlbee/help.txt
+else
+ /etc/init.d/bitlbee stop || exit 0
+fi