|
|
|
@ -2,6 +2,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
#Prise de la latest
|
|
|
|
#Prise de la latest
|
|
|
|
VERSION_GLPI=$(curl -s https://api.github.com/repos/glpi-project/glpi/releases/latest | grep tag_name | cut -d '"' -f 4)
|
|
|
|
VERSION_GLPI=$(curl -s https://api.github.com/repos/glpi-project/glpi/releases/latest | grep tag_name | cut -d '"' -f 4)
|
|
|
|
|
|
|
|
#Pour utiliser une version specifique:
|
|
|
|
|
|
|
|
#VERSION_GLPI=9.5.4
|
|
|
|
|
|
|
|
|
|
|
|
if [[ -z "${TIMEZONE}" ]]; then echo "TIMEZONE is unset";
|
|
|
|
if [[ -z "${TIMEZONE}" ]]; then echo "TIMEZONE is unset";
|
|
|
|
else echo "date.timezone = \"$TIMEZONE\"" > /etc/php/7.3/apache2/conf.d/timezone.ini;
|
|
|
|
else echo "date.timezone = \"$TIMEZONE\"" > /etc/php/7.3/apache2/conf.d/timezone.ini;
|
|
|
|
|