File: nova-api.prerm

package info (click to toggle)
nova 2%3A31.0.0-6
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 50,580 kB
  • sloc: python: 412,444; pascal: 1,845; sh: 992; makefile: 166; xml: 83
file content (16 lines) | stat: -rwxr-xr-x 331 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/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 novaapi/configure_db || true
	if [ "$RET" = "true" ] ; then
		. /usr/share/dbconfig-common/dpkg/prerm
		dbc_go nova-api $@
	fi
fi

#DEBHELPER#

exit 0