File: mistral-common.postrm.in

package info (click to toggle)
mistral 11.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 15,884 kB
  • sloc: python: 52,866; sh: 720; makefile: 53
file content (21 lines) | stat: -rw-r--r-- 396 bytes parent folder | download | duplicates (4)
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
	pkgos_dbc_postrm mistral mistral-common $@

	rm -f /etc/mistral/mistral.conf
	rm -f /etc/mistral/logging.conf
	rm -f /etc/mistral/policy.json
	rm -f /etc/mistral/wf_trace_logging.conf
	rm -rf /var/log/mistral
	[ -d /etc/mistral ] && rmdir --ignore-fail-on-non-empty /etc/mistral
	rm -rf /var/lib/mistral
fi

#DEBHELPER#

exit 0