File: bandwidthd-pgsql.postrm

package info (click to toggle)
bandwidthd 2.0.1%2Bcvs20050208-10
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 1,048 kB
  • ctags: 378
  • sloc: sh: 3,169; ansic: 1,974; php: 596; yacc: 202; makefile: 131; lex: 33
file content (25 lines) | stat: -rw-r--r-- 292 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/sh

set -e

if [ "$BANDWIDTHD_PACKAGE_DEBUG" != "" ]; then
	echo "bandwidthd-pgsql.postrm: $*"
fi


if [ "$1" = "purge" ] ; then

	CONF="/etc/bandwidthd/bandwidthd.conf"

	if [ -x $(which ucf) ]; then
		ucf --purge $CONF
	fi

	if [ -f $CONF ]; then
		rm -f $CONF
	fi

fi

#DEBHELPER#