Changeset 59c84c2 for debian/postinst


Ignore:
Timestamp:
2008-08-11T23:25:40Z (16 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
5d3b4e8
Parents:
45b9d3e
Message:

1.2.1-1.1 (NMU by Don Armstrong).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • debian/postinst

    r45b9d3e r59c84c2  
    6565
    6666if [ -n "$2" -a "$BITLBEE_UPGRADE_DONT_RESTART" != "1" ]; then
    67         /etc/init.d/bitlbee restart
     67        if which invoke-rc.d >/dev/null 2>&1; then
     68                invoke-rc.d bitlbee restart
     69        else
     70                /etc/init.d/bitlbee restart
     71        fi
    6872fi
    6973
     
    9195
    9296if [ -z "$2" ]; then
    93         /etc/init.d/bitlbee start
     97        if which invoke-rc.d >/dev/null 2>&1; then
     98                invoke-rc.d bitlbee start
     99        else
     100                /etc/init.d/bitlbee start
     101        fi
    94102fi
Note: See TracChangeset for help on using the changeset viewer.