File: postrm

package info (click to toggle)
adduser 3.47
  • links: PTS
  • area: main
  • in suites: woody
  • size: 340 kB
  • ctags: 54
  • sloc: perl: 1,498; makefile: 77; sh: 75
file content (10 lines) | stat: -rw-r--r-- 220 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
#! /bin/sh
set -e

if [ "$1" = "purge" ]; then
    rm -f /etc/adduser.conf /etc/adduser.conf.dpkg-save
    if [ -e /usr/share/debconf/confmodule ]; then
        . /usr/share/debconf/confmodule
        db_purge
    fi
fi