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