File: watcher-common.prerm

package info (click to toggle)
watcher 15.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,216 kB
  • sloc: python: 52,260; xml: 323; sh: 299; makefile: 78
file content (15 lines) | stat: -rwxr-xr-x 329 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

set -e

if [ "${1}" = "remove" ] && [ -r /usr/share/debconf/confmodule ] && [ -r /usr/share/dbconfig-common/dpkg/prerm ] ; then
	. /usr/share/debconf/confmodule

	db_get watcher/configure_db || true
	if [ "$RET" = "true" ]; then
		. /usr/share/dbconfig-common/dpkg/prerm
		dbc_go watcher-common $@
	fi
fi

#DEBHELPER#