PREUN
/bin/sh
if [ "$1" = "0" ]; then perl -ni -e "/^DICT\s*hr\s*HR\s*hr_HR$/ or print" /usr/share/myspell/dictionary.lst fi
POSTIN
/bin/sh
umask 002 if [ ! -f "/usr/share/myspell/dictionary.lst" ] || ! grep -q "^DICT[ \t]*hr[ \t]*HR[ \t]*hr_HR" /usr/share/myspell/dictionary.lst; then echo "DICT hr HR hr_HR" >> /usr/share/myspell/dictionary.lst fi