- Timestamp:
- 2014-10-05T22:02:56Z (10 years ago)
- Branches:
- master
- Children:
- 5cb21d1
- Parents:
- 3a8b850
- Location:
- debian
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
debian/bitlbee-common.postinst
r3a8b850 rc180110 66 66 fi 67 67 68 # The official way to check if we're upgrading is to check if $2 is 69 # non-empty. However, previous versions of BitlBee didn't have a 70 # bitlbee-common package so in that case the var will also be empty. 71 # Instead, check if the port is in use (if netstat is available). This 72 # works since the debconf code will pick a free port on new installs. 73 if [ "$BITLBEE_UPGRADE_DONT_RESTART" != "1" ]; then 74 unset IS_UPGRADE 75 if which netstat > /dev/null 2> /dev/null; then 76 netstat -an | grep -q :$PORT\\b.*LISTEN && IS_UPGRADE=1 77 else 78 [ -n "$2" ] && IS_UPGRADE=1 79 fi 80 if [ -n "$IS_UPGRADE" ]; then 81 invoke-rc.d bitlbee restart 82 fi 68 if [ "$BITLBEE_UPGRADE_DONT_RESTART" != "1" -a -n "$2" ]; then 69 invoke-rc.d bitlbee restart 83 70 fi 84 71 -
debian/changelog
r3a8b850 rc180110 13 13 * Merged 3.2.2 with a few later Debian-specific fixes for a belated 14 14 3.2.2-1 upload. Apologies for the delay! 15 * Removed stale workaround on upgrades from bitlbee <3.0 (with no 16 bitlbee-common package). 15 17 16 18 -- Wilmer van der Gaast <wilmer@gaast.net> Sun, 05 Oct 2014 22:11:12 +0100
Note: See TracChangeset
for help on using the changeset viewer.