File: postrm

package info (click to toggle)
cgiemail 1.6-31
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 320 kB
  • ctags: 114
  • sloc: ansic: 1,520; makefile: 135; sh: 34
file content (14 lines) | stat: -rw-r--r-- 230 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash
set -e
CONFIG="/etc/cgiemail.conf"

if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then
	. /usr/share/debconf/confmodule
	db_purge
fi

if [ "$1" = purge ]; then
	rm -f $CONFIG 2>/dev/null
fi

#DEBHELPER#