mirror of
https://github.com/community-scripts/ProxmoxVE
synced 2025-02-09 17:29:16 +00:00
Update glpi-install.sh
This commit is contained in:
parent
111a825f28
commit
ee6442e39d
@ -45,7 +45,7 @@ msg_ok "Set up database"
|
|||||||
msg_info "Installing GLPi"
|
msg_info "Installing GLPi"
|
||||||
cd /opt
|
cd /opt
|
||||||
RELEASE=$(curl -s https://api.github.com/repos/glpi-project/glpi/releases/latest | grep '"tag_name"' | sed -E 's/.*"tag_name": "([^"]+)".*/\1/')
|
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"
|
wget -q "https://github.com/glpi-project/glpi/releases/download/${RELEASE}/glpi-${RELEASE}.tgz"
|
||||||
tar -xzvf glpi-${RELEASE}.tgz
|
tar -xzvf glpi-${RELEASE}.tgz
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user