Changeset 60d6c03


Ignore:
Timestamp:
2016-06-14T07:30:09Z (8 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
f60dc5c
Parents:
ad5a907
Message:

debian: add #DEBHELPER# tag to maintscripts

So that the systemd debhelper stuff can do its job. Also fixes a lintian
warning.

Location:
debian
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • debian/bitlbee-common.postinst

    rad5a907 r60d6c03  
    99
    1010CONFDIR=/var/lib/bitlbee/
    11 
    12 update-rc.d bitlbee defaults > /dev/null 2>&1
    1311
    1412## Load default option. Don't want to put this in debconf (yet?)
     
    9290fi
    9391
    94 if [ -z "$2" ]; then
    95         invoke-rc.d bitlbee start
    96 fi
     92#DEBHELPER#
  • debian/bitlbee-common.postrm

    rad5a907 r60d6c03  
    33set -e
    44
    5 [ "$1" = "purge" ] || exit 0
    6 
    7 if [ -e /usr/share/debconf/confmodule ]; then
    8         . /usr/share/debconf/confmodule;
    9         db_purge;
     5if [ "$1" = "purge" ]; then
     6        rm -f /etc/default/bitlbee
     7        deluser --system bitlbee || true
     8        rm -rf /var/lib/bitlbee ## deluser doesn't seem to do this for homedirs in /var
    109fi
    1110
    12 update-rc.d bitlbee remove > /dev/null 2>&1 || true
    13 rm -f /etc/default/bitlbee
    14 
    15 deluser --system bitlbee || true
    16 rm -rf /var/lib/bitlbee ## deluser doesn't seem to do this for homedirs in /var
     11#DEBHELPER#
  • debian/bitlbee-common.prerm

    rad5a907 r60d6c03  
    1111                mv /usr/share/bitlbee/help.txt /usr/share/bitlbee/help.upgrading
    1212        fi
    13 else
    14         invoke-rc.d bitlbee stop
    1513fi
     14
     15#DEBHELPER#
  • debian/bitlbee.prerm

    rad5a907 r60d6c03  
    66        invoke-rc.d bitlbee stop
    77fi
     8
     9#DEBHELPER#
Note: See TracChangeset for help on using the changeset viewer.