PREUN
/bin/sh
if [ "$1" = "0" ]; then /bin/sed -i -e '/^DICT.*zu.*ZA.*zu_ZA$/d' /usr/share/myspell/dictionary.lst fi ## ## Scripts for hyphenation ##
POSTIN
/bin/sh
umask 002 if [ ! -f "/usr/share/myspell/dictionary.lst" ] || ! grep -q "^DICT[ \t]*zu[ \t]*ZA[ \t]*zu_ZA" /usr/share/myspell/dictionary.lst; then echo "DICT zu ZA zu_ZA" >> /usr/share/myspell/dictionary.lst fi