Sophie

Sophie

distrib > Arklinux > devel > i586 > media > main > by-pkgid > f53dc29e54c9a373b5592b3011ff6662 > scriptlet

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

POSTIN

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

POSTUN

/bin/sh
if [ "st_ZA.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