diff options
author | obache <obache> | 2011-09-13 07:55:31 +0000 |
---|---|---|
committer | obache <obache> | 2011-09-13 07:55:31 +0000 |
commit | 8900f5c53e7119787370b1109cdf4f95bf2311ad (patch) | |
tree | 819cad7b5563424af0d7bdf3ed59852e61801d74 /inputmethod/ja-freewnn-server/DEINSTALL | |
parent | ce755fab660f597ed340993b0dd2e3ca05546116 (diff) | |
download | pkgsrc-8900f5c53e7119787370b1109cdf4f95bf2311ad.tar.gz |
add missing files from pkgsrc-wip.
Diffstat (limited to 'inputmethod/ja-freewnn-server/DEINSTALL')
-rw-r--r-- | inputmethod/ja-freewnn-server/DEINSTALL | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/inputmethod/ja-freewnn-server/DEINSTALL b/inputmethod/ja-freewnn-server/DEINSTALL new file mode 100644 index 00000000000..15607f7477e --- /dev/null +++ b/inputmethod/ja-freewnn-server/DEINSTALL @@ -0,0 +1,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 |