6db647b41a
include: * userdb/makeuserdb.in: Report dangling symlinks.
28 lines
622 B
Text
28 lines
622 B
Text
# $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
|