2920a32c71
VIEW-DEINSTALL to the INSTALL/DEINSTALL scripts don't cause errors.
21 lines
442 B
Text
21 lines
442 B
Text
# $NetBSD: DEINSTALL,v 1.3 2003/08/30 20:22:55 jlam Exp $
|
|
|
|
IMAPDCONF=@IMAPDCONF@
|
|
|
|
case ${STAGE} in
|
|
DEINSTALL)
|
|
if [ -f ${IMAPDCONF} ]; then
|
|
imap_dirs=` \
|
|
${AWK} '/configdirectory:/ { print $2 }; \
|
|
/partition-.*:/ { print $2 }; \
|
|
/sievedir:/ { print $2 }' \
|
|
${IMAPDCONF} \
|
|
`
|
|
for dir in ${imap_dirs}; do
|
|
if [ -d ${dir} ]; then
|
|
ALL_DIRS="${ALL_DIRS} ${dir}"
|
|
fi
|
|
done
|
|
fi
|
|
;;
|
|
esac
|