summaryrefslogtreecommitdiff
path: root/security/courier-authlib/DEINSTALL
blob: 134ac8c90b3e3278f91cc1f9553d3827163a8386 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# $NetBSD: DEINSTALL,v 1.2 2005/02/18 22:12:43 jlam Exp $

case ${STAGE} in
DEINSTALL)
	#
	# Note some additional files that may be created by the sysadmin
	# that can probably be removed.
	#
	if ${TEST} -x ./+FILES; then
		for file in						\
			${PKG_SYSCONFDIR}/userdb			\
			${PKG_SYSCONFDIR}/userdb.dat			\
			${PKG_SYSCONFDIR}/userdbshadow.dat
		do
			${ECHO} "# FILE: $file . /dev/null" >> ./+FILES
		done
	fi
	;;

POST-DEINSTALL)
	#
	# Unconditionally remove authdaemon state directory as it contains
	# files and sockets that authdaemond creates every time it is
	# started.
	#
	${RM} -rf @AUTHDAEMONVAR@
	;;
esac