From 6ea169092b77c34666c8f5b839b3b61067b030bf Mon Sep 17 00:00:00 2001 From: Duncan Sommerville Date: Tue, 24 Feb 2015 10:41:10 -0500 Subject: [PATCH] Pulls locales from correct directory if not installing to /usr/share --- install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install b/install index e0a0432b9..6aa57a6bb 100755 --- a/install +++ b/install @@ -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