From 7267a6609bfd0a6152e7f57b3a0ee3b074fefea1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?N=C3=ADcolas=20Pastorello?= Date: Sat, 4 Jan 2025 23:58:18 -0300 Subject: [PATCH] Update glpi-install.sh Added STD --- install/glpi-install.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/install/glpi-install.sh b/install/glpi-install.sh index cef477f1..1d18c63f 100644 --- a/install/glpi-install.sh +++ b/install/glpi-install.sh @@ -47,10 +47,10 @@ 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/${APP}_version.txt" wget -q "https://github.com/glpi-project/glpi/releases/download/${RELEASE}/glpi-${RELEASE}.tgz" -tar -xzvf glpi-${RELEASE}.tgz +$STD tar -xzvf glpi-${RELEASE}.tgz cd /opt/glpi -php bin/console db:install --db-name=$DB_NAME --db-user=$DB_USER --db-password=$DB_PASS --no-interaction +$STD php bin/console db:install --db-name=$DB_NAME --db-user=$DB_USER --db-password=$DB_PASS --no-interaction rm -rf /opt/glpi/install msg_ok "Installed GLPi" @@ -122,9 +122,9 @@ cat </etc/apache2/sites-available/glpi.conf EOF -a2dissite 000-default.conf -a2enmod rewrite -a2ensite glpi.conf +$STD a2dissite 000-default.conf +$STD a2enmod rewrite +$STD a2ensite glpi.conf msg_ok "Configured VirtualHost" msg_info "Setting Automatic Actions"