aboutsummaryrefslogtreecommitdiffstats
path: root/debian/prerm
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2010-06-05 17:39:58 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2010-06-05 17:39:58 +0100
commit4c0388134ff88b72e343bd07013554480c2a4ef7 (patch)
tree593a886ccadb0a685a74b862df7936207dcd3c18 /debian/prerm
parent095a5f046c36c4cff689305fef81533a9e9603fc (diff)
Remaining fixes: All looks good now, apt and dpkg seem to do the right
thing with the -common transition, etc.
Diffstat (limited to 'debian/prerm')
-rwxr-xr-xdebian/prerm17
1 files changed, 0 insertions, 17 deletions
diff --git a/debian/prerm b/debian/prerm
deleted file mode 100755
index 687c2cc1..00000000
--- a/debian/prerm
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/sh -e
-
-if [ "$1" = "upgrade" ]; then
- ## To prevent the help function from breaking in currently running
- ## BitlBee processes. Have to do it like this because dpkg-reconfigure
- ## looks a lot like an upgrade and we don't want to lose help.txt...
- if [ -e /usr/share/bitlbee/help.txt ]; then
- rm -f /usr/share/bitlbee/help.upgrading
- mv /usr/share/bitlbee/help.txt /usr/share/bitlbee/help.upgrading
- fi
-else
- if which invoke-rc.d >/dev/null 2>&1; then
- invoke-rc.d bitlbee stop || exit 0
- else
- /etc/init.d/bitlbee stop || exit 0
- fi
-fi