#!/bin/sh
set -e

case "$1" in
    remove|purge)
    	# This test should be kept only for compatibility with old 
	# locales-all packages, new ones don't use locale-archive.
    	if ! [ -f /usr/lib/locales-all/supported.tar.lzma ] ; then
		# If locales-all is not installed, clean the locales
		rm -f /usr/lib/locale/locale-archive
	fi
	;;
    *)
    	;;
esac



exit 0
