blob: 707b1d2532ba5b9eb5bd65d206e23b93659fc2b7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# $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
|