CC-4871: Generating locales on Debian fails.

-fixed
This commit is contained in:
Martin Konecny 2013-01-21 19:06:56 -05:00
parent ff7ff473be
commit acc0bf4393
3 changed files with 33 additions and 0 deletions

View file

@ -7,6 +7,7 @@ if [[ $EUID -ne 0 ]]; then
exit 1
fi
set +e
dist=`lsb_release -is`
echo "Generating locales"
for i in `ls /usr/share/airtime/locale | grep ".._.."`; do
@ -19,6 +20,7 @@ for i in `ls /usr/share/airtime/locale | grep ".._.."`; do
locale-gen "$i.utf8"
fi
done
set -e
if [ "$dist" = "Debian" ]; then
/usr/sbin/locale-gen