Sophie

Sophie

distrib > Arklinux > devel > i586 > by-pkgid > 5525cd3262fdbfdf89363df8adadcdbd > scriptlet

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

POSTIN

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

POSTUN

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