From ee6442e39d6a3fcf051d9113c0143693fa6cacc4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?N=C3=ADcolas=20Pastorello?= Date: Fri, 3 Jan 2025 11:22:36 -0300 Subject: [PATCH] Update glpi-install.sh --- install/glpi-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/glpi-install.sh b/install/glpi-install.sh index 4a231a08..a8a8b215 100644 --- a/install/glpi-install.sh +++ b/install/glpi-install.sh @@ -45,7 +45,7 @@ msg_ok "Set up database" msg_info "Installing GLPi" cd /opt RELEASE=$(curl -s https://api.github.com/repos/glpi-project/glpi/releases/latest | grep '"tag_name"' | sed -E 's/.*"tag_name": "([^"]+)".*/\1/') -echo "${RELEASE}" >"/opt/glpi_version.txt" +echo "${RELEASE}" >"/opt/${APP}_version.txt" wget -q "https://github.com/glpi-project/glpi/releases/download/${RELEASE}/glpi-${RELEASE}.tgz" tar -xzvf glpi-${RELEASE}.tgz