Sophie

Sophie

distrib > Mandriva > 9.0 > x86_64 > by-pkgid > dab06a6fe84773d56ca694b2def5f7ec > scriptlet

myspell-nn_NO-1.0.1-0.20020830.4mdk.noarch.rpm

PREUN

/bin/sh
if [[ "$1" = "0" ]]; then
  perl -ni -e "/^DICT\s*nn\s*NO\s*nn_NO$/ or print" /usr/share/dict/ooo/dictionary.lst
fi

##
## Scripts for hyphenation
##

POSTIN

/bin/sh
if [[ ! -f "/usr/share/dict/ooo/dictionary.lst" ]] ||       ! grep -q "^DICT[ \t]*nn[ \t]*NO[ \t]*nn_NO" /usr/share/dict/ooo/dictionary.lst
then
  echo "DICT nn NO nn_NO" >> /usr/share/dict/ooo/dictionary.lst
fi