Changeset 35401cd for debian


Ignore:
Timestamp:
2016-09-21T03:02:29Z (8 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
ad54149
Parents:
028ca92
Message:

debian: check if sysv script exists before calling invoke-rc.d

In the postinst script, the part that isn't handled by debhelper and i'm
not really sure why i'm keeping.

Thanks Raku for reporting/testing this.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • debian/bitlbee-common.postinst

    r028ca92 r35401cd  
    6464fi
    6565
    66 if [ "$BITLBEE_UPGRADE_DONT_RESTART" != "1" -a  -n "$2" ]; then
     66if [ "$BITLBEE_UPGRADE_DONT_RESTART" != "1" -a  -n "$2" -a -x "/etc/init.d/bitlbee" ]; then
    6767        invoke-rc.d bitlbee restart
    6868fi
Note: See TracChangeset for help on using the changeset viewer.