Update update.sh

This commit is contained in:
Félix Aimé
2021-04-25 11:09:35 +02:00
committed by GitHub
parent bf848cd224
commit 056f8b0b64

View File

@ -38,7 +38,7 @@ elif [ $PWD = "/tmp/tinycheck" ]; then
echo "[+] Building new interfaces..." echo "[+] Building new interfaces..."
cd /usr/share/tinycheck/app/frontend/ && npm install && npm audit fix && npm run build cd /usr/share/tinycheck/app/frontend/ && npm install && npm audit fix && npm run build
cd /usr/share/tinycheck/app/backend/ && npm install && npm audit fix && npm run build cd /usr/share/tinycheck/app/backend/ && npm install && npm audit fix && npm run build
echo "[+] Updating current configuration with new values." echo "[+] Updating current configuration with new values."
if ! grep -q reboot_option /usr/share/tinycheck/config.yaml; then if ! grep -q reboot_option /usr/share/tinycheck/config.yaml; then