initial commit
[glibc.git] / debian / debhelper.in / locales.prerm
1 #!/bin/sh
2 set -e
3
4 case "$1" in
5 remove|purge)
6 # This test should be kept only for compatibility with old
7 # locales-all packages, new ones don't use locale-archive.
8 if ! [ -f /usr/lib/locales-all/supported.tar.lzma ] ; then
9 # If locales-all is not installed, clean the locales
10 rm -f /usr/lib/locale/locale-archive
11 fi
12 ;;
13 *)
14 ;;
15 esac
16
17 #DEBHELPER#
18
19 exit 0