- Timestamp:
- 2007-10-22T22:39:46Z (17 years ago)
- Branches:
- master
- Children:
- 5e2615a
- Parents:
- 3933853
- Location:
- debian
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
debian/postinst
r3933853 r7448e1b 46 46 db_stop 47 47 48 ## Restore the helpfile in case we weren't upgrading but just reconfiguring: 49 if [ -e /usr/share/bitlbee/help.upgrading ]; then 50 if [ -e /usr/share/bitlbee/help.txt ]; then 51 rm -f /usr/share/bitlbee/help.upgrading 52 else 53 mv /usr/share/bitlbee/help.upgrading /usr/share/bitlbee/help.txt 54 fi 55 fi 56 48 57 if [ -n "$2" -a "$BITLBEE_UPGRADE_DONT_RESTART" != "1" ]; then 49 58 /etc/init.d/bitlbee restart -
debian/prerm
r3933853 r7448e1b 2 2 3 3 if [ "$1" = "upgrade" ]; then 4 ## To prevent the help function from breaking in currently running BitlBee processes 5 rm -f /usr/share/bitlbee/help.txt 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 6 11 else 7 12 /etc/init.d/bitlbee stop || exit 0
Note: See TracChangeset
for help on using the changeset viewer.