Changeset 59c84c2 for debian


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).

Location:
debian
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • debian/changelog

    r45b9d3e r59c84c2  
     1bitlbee (1.2.1-1.1) unstable; urgency=low
     2
     3  * Non-Maintainer Upload
     4  * Use invoke-rc.d as per policy. (Closes: #492637) [Thanks to Matt
     5    Kraii]
     6
     7 -- Don Armstrong <don@debian.org>  Wed, 06 Aug 2008 06:57:18 -0700
     8
    19bitlbee (1.2.1-1) unstable; urgency=low
    210
  • 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
  • debian/prerm

    r45b9d3e r59c84c2  
    1010        fi
    1111else
    12         /etc/init.d/bitlbee stop || exit 0
     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
    1317fi
Note: See TracChangeset for help on using the changeset viewer.