Sophie

Sophie

distrib > Mandriva > 2006.0 > x86_64 > by-pkgid > bc13c342f1703189f4239582832a8fc1 > scriptlet

myspell-hr_HR-1.0.2-0.20020411.9mdk.noarch.rpm

PREUN

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

POSTIN

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