mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-12 16:44:08 -08:00
Updated installer
This commit is contained in:
parent
fe00b0e401
commit
bd334076ca
|
@ -581,7 +581,7 @@ case $distro in
|
|||
#Modify the Snipe-It files necessary for a production environment.
|
||||
echo "## Modifying the Snipe-IT files necessary for a production environment."
|
||||
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
|
||||
|
||||
echo " Setting up bootstrap file."
|
||||
|
|
Loading…
Reference in a new issue