File: gom.postrm

package info (click to toggle)
gom 0.30.2-2
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 852 kB
  • ctags: 325
  • sloc: ansic: 3,021; sh: 1,548; makefile: 74
file content (16 lines) | stat: -rw-r--r-- 313 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh -e
. /usr/share/debconf/confmodule

# Purging configuration gom
if [ "$1" = "purge" ]; then
	if ! rmdir /etc/gom 2>/dev/null; then
		db_input critical gom/purge_etc_gom || true
		db_go || true
		db_get gom/purge_etc_gom || true
		if [ "$RET" = true ]; then
			rm -r -f /etc/gom
		fi
	fi
fi

#DEBHELPER#