blob: 2ad34812c7224b0d641234fc16181aaebfca7e05 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
# $NetBSD: DEINSTALL,v 1.2 2004/05/27 04:45:06 jlam Exp $
IMAPDCONF=@IMAPDCONF@
case ${STAGE} in
DEINSTALL)
if [ -f ${IMAPDCONF} ]; then
${AWK} '/configdirectory:/ { print $2 }; \
/partition-.*:/ { print $2 }; \
/sievedir:/ { print $2 }' \
${IMAPDCONF} | \
while read dir; do
if [ -d "${dir}" ]; then
ALL_DIRS="${ALL_DIRS} ${dir}"
fi
done
fi
;;
esac
|