#! /bin/sh -e



if [ "$1" = configure ]; then
    # in this version we switched to using an archive, so clean up
    if dpkg --compare-versions "$2" lt-nl "2.11+git20100304-5"; then
	rm -rf /usr/lib/locale/*
    fi
    locale-gen
fi

exit 0
