Sophie

Sophie

distrib > Arklinux > devel > x86_64 > media > main > by-pkgid > c724e4bdb7ca0ff1bc9bf29e3119d1ae > scriptlet

eglibc-locale-Japanese-2.14-2ark.x86_64.rpm

POSTIN

/bin/sh
/usr/bin/localedef -i ja_JP -f EUC-JP ja_JP.EUC-JP -A /usr/share/locale/locale.alias 2>/dev/null
/usr/bin/localedef -i ja_JP -f UTF-8 ja_JP.UTF-8 -A /usr/share/locale/locale.alias 2>/dev/null

POSTUN

/bin/sh
if [ "ja_JP.EUC-JP/EUC-JP" = "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