From 52b03a0e8b0ee33fdc594d348df4dd2bc1277aa3 Mon Sep 17 00:00:00 2001 From: Aiden Arnkels-Webb Date: Tue, 18 Apr 2023 17:28:17 +0100 Subject: [PATCH] Update glpi-start --- glpi-start.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/glpi-start.sh b/glpi-start.sh index 92063aa..97e8282 100644 --- a/glpi-start.sh +++ b/glpi-start.sh @@ -6,8 +6,8 @@ if [[ -z "${TIMEZONE}" ]]; then echo "TIMEZONE is unset"; else -echo "date.timezone = \"$TIMEZONE\"" > /etc/php/7.4/apache2/conf.d/timezone.ini; -echo "date.timezone = \"$TIMEZONE\"" > /etc/php/7.4/cli/conf.d/timezone.ini; +echo "date.timezone = \"$TIMEZONE\"" > /etc/php/8.1/apache2/conf.d/timezone.ini; +echo "date.timezone = \"$TIMEZONE\"" > /etc/php/8.1/cli/conf.d/timezone.ini; fi SRC_GLPI=$(curl -s https://api.github.com/repos/glpi-project/glpi/releases/tags/${VERSION_GLPI} | jq .assets[0].browser_download_url | tr -d \")