File: post_remove_cleanup

package info (click to toggle)
piuparts 1.6.0
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 72,532 kB
  • sloc: python: 8,240; sh: 4,367; makefile: 171
file content (14 lines) | stat: -rwxr-xr-x 287 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
set -e

log_debug() {
	echo "Debug: piuparts exception for package $PIUPARTS_OBJECTS"
}

case ${PIUPARTS_OBJECTS%%=*} in
	dovecot-core)
		# #330519 - does not remove certificates on purge
		log_debug
		rm -fv /etc/dovecot/dovecot.pem /etc/dovecot/private/dovecot.pem
		;;
esac