CC-4871: Generating locales on Debian fails.
-fixed
This commit is contained in:
parent
ff7ff473be
commit
acc0bf4393
3 changed files with 33 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue