File: openstack-cluster-installer.postrm.in

package info (click to toggle)
openstack-cluster-installer 43.0.19
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 4,540 kB
  • sloc: php: 19,150; sh: 18,091; ruby: 75; makefile: 31; xml: 8
file content (21 lines) | stat: -rw-r--r-- 437 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh

set -e

#PKGOS-INCLUDE#

if [ "$1" = "purge" ] ; then
	if [ -f /usr/share/debconf/confmodule ] ; then
		pkgos_dbc_postrm openstack-cluster-installer openstack-cluster-installer $@
	fi

	rm -rf /etc/openstack-cluster-installer/hiera
	rm -rf /var/lib/oci

	rm -f /etc/openstack-cluster-installer/openstack-cluster-installer.conf
	rmdir --ignore-fail-on-non-empty /etc/openstack-cluster-installer || true
fi

#DEBHELPER#

exit 0