File: placement-common.prerm

package info (click to toggle)
placement 4.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,868 kB
  • sloc: python: 15,213; sh: 701; makefile: 57; pascal: 30
file content (17 lines) | stat: -rwxr-xr-x 344 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/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 placement/configure_db
	if [ "$RET" = "true" ]; then
		. /usr/share/dbconfig-common/dpkg/prerm
		dbc_go ${DPKG_MAINTSCRIPT_PACKAGE} $@
	fi
fi

#DEBHELPER#

exit 0