blob: 15607f7477eb843e9343f63fe35d8d0a64bc42c2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
# $NetBSD: DEINSTALL,v 1.1 2011/09/13 07:55:31 obache Exp $
case ${STAGE} in
DEINSTALL)
for f in `cd @WNNDICTDIR@/ja_JP && find . -type f`; do
if ${TEST} -f ${PREFIX}/share/wnn/ja_JP/dic/${f}; then
${RM} -f @WNNDICTDIR@/ja_JP/${f} || ${TRUE};
fi
done
for d in `cd @WNNDICTDIR@/ja_JP && find -d . -type d`; do
if ${TEST} ${d} != "." -a -d ${PREFIX}/share/wnn/ja_JP/dic/${d}; then
${RMDIR} @WNNDICTDIR@/ja_JP/${d} || ${TRUE};
fi
done
;;
esac
|