Sophie

Sophie

distrib > Mandriva > 9.0 > x86_64 > by-pkgid > 14b169a678e10708d5037e0b077def92 > scriptlet

myspell-hr_HR-1.0.1-0.20020411.4mdk.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