pkgsrc/inputmethod/uim/DEINSTALL.m17nlib
obache 1d1d176b6b Add workaround for PR 41447.
* Add dependency m17n-contrib for m17nlib option.
  It is required for icons.
* Remove m17-*.png icon files from PLIST and generate/delete symbolic links at
  install/deinstall.

XXX: symbolic links may be broken/missing when update m17n-contrib.
XXX: There is no chance to invoke relink at the time.
2009-10-01 12:30:32 +00:00

8 lines
211 B
Text

# $NetBSD: DEINSTALL.m17nlib,v 1.1 2009/10/01 12:30:32 obache Exp $
case ${STAGE} in
DEINSTALL)
for icon in ${PREFIX}/share/uim/pixmaps/m17n-*.png ; do
${TEST} ! -h ${icon} || ${RM} -f ${icon}
done
;;
esac