From aeafbb1047282a321c93d668973d3dc38d1bd5e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Slavi=C5=A1a=20Are=C5=BEina?= <58952836+tremor021@users.noreply.github.com> Date: Fri, 3 Oct 2025 21:39:59 +0200 Subject: [PATCH] Update glpi-install.sh (#8092) --- install/glpi-install.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/install/glpi-install.sh b/install/glpi-install.sh index 023ed9254..1113b335d 100644 --- a/install/glpi-install.sh +++ b/install/glpi-install.sh @@ -43,9 +43,9 @@ msg_ok "Set up database" msg_info "Installing GLPi" cd /opt -RELEASE=$(curl -fsSL https://api.github.com/repos/glpi-project/glpi/releases/latest | grep '"tag_name"' | sed -E 's/.*"tag_name": "([^"]+)".*/\1/') -curl -fsSL "https://github.com/glpi-project/glpi/releases/download/${RELEASE}/glpi-${RELEASE}.tgz" -o "glpi-${RELEASE}.tgz" -$STD tar -xzvf glpi-${RELEASE}.tgz +#RELEASE=$(curl -fsSL https://api.github.com/repos/glpi-project/glpi/releases/latest | grep '"tag_name"' | sed -E 's/.*"tag_name": "([^"]+)".*/\1/') +curl -fsSL "https://github.com/glpi-project/glpi/releases/download/10.0.20/glpi-10.0.20.tgz" -o "glpi-10.0.20.tgz" +$STD tar -xzvf glpi-10.0.20.tgz cd /opt/glpi $STD php bin/console db:install --db-name=$DB_NAME --db-user=$DB_USER --db-password=$DB_PASS --no-interaction --allow-superuser echo "${RELEASE}" >/opt/${APPLICATION}_version.txt @@ -144,7 +144,7 @@ customize msg_info "Cleaning up" rm -rf /opt/glpi/install -rm -rf /opt/glpi-${RELEASE}.tgz +rm -rf /opt/glpi-10.0.20.tgz $STD apt-get -y autoremove $STD apt-get -y autoclean msg_ok "Cleaned"