Pulls locales from correct directory if not installing to /usr/share

This commit is contained in:
Duncan Sommerville 2015-02-24 10:41:10 -05:00
parent 6eea40dbd8
commit 6ea169092b
1 changed files with 1 additions and 1 deletions

View File

@ -561,7 +561,7 @@ if [ "$ignore_dependencies" = "f" ]; then
set +e
verbose "\n * Generating locales"
for i in `ls /usr/share/airtime/locale | grep ".._.."`; do
for i in `ls ${web_root}/../locale | grep ".._.."`; do
if [ "$dist" = "Debian" ]; then
grep -qi "^$i" /etc/locale.gen
if [ $? -ne 0 ]; then