We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 774cdca commit 5196539Copy full SHA for 5196539
install/glpi-install.sh
@@ -46,10 +46,10 @@ msg_info "Installing GLPi"
46
cd /opt
47
RELEASE=$(curl -s https://api.github.com/repos/glpi-project/glpi/releases/latest | grep '"tag_name"' | sed -E 's/.*"tag_name": "([^"]+)".*/\1/')
48
wget -q "https://github.com/glpi-project/glpi/releases/download/${RELEASE}/glpi-${RELEASE}.tgz"
49
-tar -xzvf glpi-${RELEASE}.tgz
+$STD tar -xzvf glpi-${RELEASE}.tgz
50
cd /opt/glpi
51
$STD php bin/console db:install --db-name=$DB_NAME --db-user=$DB_USER --db-password=$DB_PASS --no-interaction
52
-echo "${RELEASE}" >"/opt/${APP}_version.txt"
+echo "${RELEASE}" >/opt/${APPLICATION}_version.txt
53
msg_ok "Installed GLPi"
54
55
msg_info "Setting Downstream file"
0 commit comments