1 # $NetBSD: DEINSTALL,v 1.3 2004/07/30 23:03:58 jlam Exp $
7 if [ -f ${IMAPDCONF} ]; then
9 ${AWK} '/configdirectory:/ { print $2 }; \
10 /partition-.*:/ { print $2 }; \
11 /sievedir:/ { print $2 }' \
12 ${IMAPDCONF} | ${SORT} -ur`
14 for dir in ${IMAPDIRS}; do
15 ${RMDIR} -p ${dir} 2>/dev/null || ${TRUE}
16 if [ -d ${dir} ]; then
17 _IMAPDIRS="${_IMAPDIRS} ${dir}"
20 if [ -n "${_IMAPDIRS}" ]; then
22 ===========================================================================
23 If you won't be using ${PKGNAME} any longer, you may want to remove
24 the following directories:
27 for dir in ${_IMAPDIRS}; do
28 if [ -d "${dir}" ]; then
33 ===========================================================================