Sophie

Sophie

distrib > PLD > ac > amd64 > by-pkgid > 7189e5f0ce2b02728f9eb47af1a563b9 > scriptlet

myspell-nb_NO-1.0.2-0.20031013.6.noarch.rpm

PREUN

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

POSTIN

/bin/sh
umask 002
if [ ! -f "/usr/share/myspell/dictionary.lst" ] || ! grep -q "^DICT[ \t]*nb[ \t]*NO[ \t]*nb_NO" /usr/share/myspell/dictionary.lst; then
	echo "DICT nb NO nb_NO" >> /usr/share/myspell/dictionary.lst
fi