PREUN
/bin/sh
if [[ "$1" = "0" ]]; then
perl -ni -e "/^HYPH\s*it\s*IT\s*hyph_it$/ or print" /usr/share/dict/ooo/dictionary.lst
fi
if [[ "$1" = "0" ]]; then
perl -ni -e "/^HYPH\s*it\s*CH\s*hyph_it$/ or print" /usr/share/dict/ooo/dictionary.lst
fi
POSTIN
/bin/sh
if [[ ! -f "/usr/share/dict/ooo/dictionary.lst" ]] || ! grep -q "^HYPH[ \t]*it[ \t]*IT[ \t]*hyph_it" /usr/share/dict/ooo/dictionary.lst
then
echo "HYPH it IT hyph_it" >> /usr/share/dict/ooo/dictionary.lst
fi
if [[ ! -f "/usr/share/dict/ooo/dictionary.lst" ]] || ! grep -q "^HYPH[ \t]*it[ \t]*CH[ \t]*hyph_it" /usr/share/dict/ooo/dictionary.lst
then
echo "HYPH it CH hyph_it" >> /usr/share/dict/ooo/dictionary.lst
fi