mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-04-20 01:48:07 +00:00
fix glpi echo release
This commit is contained in:
parent
774cdcaf8d
commit
5196539d1b
@ -46,10 +46,10 @@ 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/')
|
||||||
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
|
$STD tar -xzvf glpi-${RELEASE}.tgz
|
||||||
cd /opt/glpi
|
cd /opt/glpi
|
||||||
$STD 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
|
||||||
echo "${RELEASE}" >"/opt/${APP}_version.txt"
|
echo "${RELEASE}" >/opt/${APPLICATION}_version.txt
|
||||||
msg_ok "Installed GLPi"
|
msg_ok "Installed GLPi"
|
||||||
|
|
||||||
msg_info "Setting Downstream file"
|
msg_info "Setting Downstream file"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user