source: debian/postrm @ 8b6b740

Last change on this file since 8b6b740 was 628e601, checked in by Wilmer van der Gaast <wilmer@…>, at 2008-03-24T19:48:36Z

Some more changes for 1.2-2: Adding a bitlbee group for extra security
and small stuff.

  • Property mode set to 100755
File size: 346 bytes
Line 
1#!/bin/sh -e
2
3[ "$1" = "purge" ] || exit 0
4
5if [ -e /usr/share/debconf/confmodule ]; then
6        . /usr/share/debconf/confmodule;
7        db_purge;
8fi
9
10update-rc.d bitlbee remove > /dev/null 2>&1 || true
11rm -f /etc/default/bitlbee
12
13deluser --system --remove-home bitlbee || true
14rm -rf /var/lib/bitlbee ## deluser doesn't seem to do this for homedirs in /var
Note: See TracBrowser for help on using the repository browser.