Skip to content

Commit

Permalink
Fixed string comparison issue for installer on debian
Browse files Browse the repository at this point in the history
  • Loading branch information
dpsommer committed Mar 18, 2015
1 parent cca9ba0 commit a91656a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit a91656a

Please sign in to comment.