File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -43,9 +43,9 @@ msg_ok "Set up database"
4343
4444msg_info " Installing GLPi"
4545cd /opt
46- RELEASE=$( curl -fsSL https://api.github.com/repos/glpi-project/glpi/releases/latest | grep ' "tag_name"' | sed -E ' s/.*"tag_name": "([^"]+)".*/\1/' )
47- curl -fsSL " https://github.com/glpi-project/glpi/releases/download/${RELEASE} /glpi-${RELEASE} . tgz" -o " glpi-${RELEASE} .tgz"
48- $STD tar -xzvf glpi-${RELEASE} .tgz
46+ # RELEASE=$(curl -fsSL https://api.github.com/repos/glpi-project/glpi/releases/latest | grep '"tag_name"' | sed -E 's/.*"tag_name": "([^"]+)".*/\1/')
47+ curl -fsSL " https://github.com/glpi-project/glpi/releases/download/10.0.20 /glpi-10.0.20. tgz" -o " glpi-10.0.20 .tgz"
48+ $STD tar -xzvf glpi-10.0.20 .tgz
4949cd /opt/glpi
5050$STD php bin/console db:install --db-name=$DB_NAME --db-user=$DB_USER --db-password=$DB_PASS --no-interaction --allow-superuser
5151echo " ${RELEASE} " > /opt/${APPLICATION} _version.txt
@@ -144,7 +144,7 @@ customize
144144
145145msg_info " Cleaning up"
146146rm -rf /opt/glpi/install
147- rm -rf /opt/glpi-${RELEASE} .tgz
147+ rm -rf /opt/glpi-10.0.20 .tgz
148148$STD apt-get -y autoremove
149149$STD apt-get -y autoclean
150150msg_ok " Cleaned"
You can’t perform that action at this time.
0 commit comments