Sophie

Sophie

distrib > Arklinux > devel > i586 > media > main > by-pkgid > 3051ad7f358a3d2dcd77ad5ee453626b > scriptlet

eglibc-locale-Occitan-2.14-2ark.i586.rpm

POSTIN

/bin/sh
/usr/bin/localedef -i oc_FR -f UTF-8 oc_FR.UTF-8 -A /usr/share/locale/locale.alias 2>/dev/null
/usr/bin/localedef -i oc_FR -f ISO-8859-1 oc_FR -A /usr/share/locale/locale.alias 2>/dev/null

POSTUN

/bin/sh
if [ "oc_FR.UTF-8/UTF-8" = "0" ]; then
	# There is no way to remove locale data from the locale-archive cache
	# without rebuilding the entire thing...
	/usr/sbin/rebuild-locale-archive
fi