Updated installer

This commit is contained in:
snipe 2016-03-25 01:24:28 -07:00
parent fe00b0e401
commit bd334076ca

View file

@ -581,7 +581,7 @@ case $distro in
#Modify the Snipe-It files necessary for a production environment. #Modify the Snipe-It files necessary for a production environment.
echo "## Modifying the Snipe-IT files necessary for a production environment." echo "## Modifying the Snipe-IT files necessary for a production environment."
echo " Setting up Timezone." echo " Setting up Timezone."
tzone=$(timedatectl | gawk -F'[: ]+' ' $2 ~ /Timezone/ {print $3}'); tzone=$(timedatectl | gawk -F'[: ]' ' $9 ~ /zone/ {print $11}');
sed -i "s,UTC,$tzone,g" $webdir/$name/app/config/app.php sed -i "s,UTC,$tzone,g" $webdir/$name/app/config/app.php
echo " Setting up bootstrap file." echo " Setting up bootstrap file."