#!/bin/sh
# Call update-locale-config with -p option to do
# debconf preseeding (mainly for dictionaries-common
# and X.

set -e

DEBUG=""

if [ ! -z ${DEBCONF_DEBUG} ]; then
        echo "Starting Post-Install Localization procedure for $LANG"
	        DEBUG="--debug"
		fi
	
if [ -x /usr/sbin/update-locale-config ]; then 
    case $LANG in
    C|POSIX)
        ;;
    ?*)
        /usr/sbin/update-locale-config $LANG
        ;;
    esac
else
   echo "Error: could not find script: /usr/sbin/update-locale-config"
   exit 1
fi

