From a91656a063bc9fb265255cd1b9bd33a1b6b92eb8 Mon Sep 17 00:00:00 2001 From: Duncan Sommerville Date: Wed, 18 Mar 2015 10:00:07 -0400 Subject: [PATCH] Fixed string comparison issue for installer on debian --- install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install b/install index 991f5050f1..1201bd4e84 100755 --- a/install +++ b/install @@ -579,7 +579,7 @@ if [ "$ignore_dependencies" = "f" ]; then set +e verbose "\n * Generating locales" for i in `ls ${web_root}/../locale | grep ".._.."`; do - if [ "$dist" = "Debian" ]; then + if [ "$dist" = "debian" ]; then grep -qi "^$i" /etc/locale.gen if [ $? -ne 0 ]; then verbose "$i.UTF-8 UTF-8" >> /etc/locale.gen @@ -590,7 +590,7 @@ if [ "$ignore_dependencies" = "f" ]; then done set -e - if [ "$dist" = "Debian" ]; then + if [ "$dist" = "debian" ]; then loudCmd "/usr/sbin/locale-gen" fi fi