File: gom.postrm

package info (click to toggle)
gom 0.30.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 896 kB
  • sloc: ansic: 3,021; sh: 1,787; makefile: 36
file content (17 lines) | stat: -rw-r--r-- 337 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/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
	rm -f /etc/default/gom
fi

#DEBHELPER#