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