Changeset 6020e18


Ignore:
Timestamp:
2016-06-14T07:31:24Z (9 years ago)
Author:
dequis <dx@…>
Parents:
ddb3c08
git-author:
dequis <dx@…> (14-06-16 07:30:09)
git-committer:
dequis <dx@…> (14-06-16 07:31:24)
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

    rddb3c08 r6020e18  
    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

    rddb3c08 r6020e18  
    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

    rddb3c08 r6020e18  
    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

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