Last change
on this file since b119d5d was
59c84c2,
checked in by Wilmer van der Gaast <wilmer@…>, at 2008-08-11T23:25:40Z
|
1.2.1-1.1 (NMU by Don Armstrong).
|
-
Property mode set to
100755
|
File size:
548 bytes
|
Line | |
---|
1 | #!/bin/sh -e |
---|
2 | |
---|
3 | if [ "$1" = "upgrade" ]; then |
---|
4 | ## To prevent the help function from breaking in currently running |
---|
5 | ## BitlBee processes. Have to do it like this because dpkg-reconfigure |
---|
6 | ## looks a lot like an upgrade and we don't want to lose help.txt... |
---|
7 | if [ -e /usr/share/bitlbee/help.txt ]; then |
---|
8 | rm -f /usr/share/bitlbee/help.upgrading |
---|
9 | mv /usr/share/bitlbee/help.txt /usr/share/bitlbee/help.upgrading |
---|
10 | fi |
---|
11 | else |
---|
12 | if which invoke-rc.d >/dev/null 2>&1; then |
---|
13 | invoke-rc.d bitblee stop || exit 0 |
---|
14 | else |
---|
15 | /etc/init.d/bitlbee stop || exit 0 |
---|
16 | fi |
---|
17 | fi |
---|
Note: See
TracBrowser
for help on using the repository browser.