Skip to content

Commit 5196539

Browse files
authored
fix glpi echo release
1 parent 774cdca commit 5196539

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

install/glpi-install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@ msg_info "Installing GLPi"
4646
cd /opt
4747
RELEASE=$(curl -s https://api.github.com/repos/glpi-project/glpi/releases/latest | grep '"tag_name"' | sed -E 's/.*"tag_name": "([^"]+)".*/\1/')
4848
wget -q "https://github.com/glpi-project/glpi/releases/download/${RELEASE}/glpi-${RELEASE}.tgz"
49-
tar -xzvf glpi-${RELEASE}.tgz
49+
$STD tar -xzvf glpi-${RELEASE}.tgz
5050
cd /opt/glpi
5151
$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"
52+
echo "${RELEASE}" >/opt/${APPLICATION}_version.txt
5353
msg_ok "Installed GLPi"
5454

5555
msg_info "Setting Downstream file"

0 commit comments

Comments
 (0)