From c3f132fc26fa98aea35214934ba38eba357a7632 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Aim=C3=A9?= Date: Sat, 24 Apr 2021 22:47:42 +0200 Subject: [PATCH] Update update.sh --- update.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/update.sh b/update.sh index 02730fa..9dd6faa 100644 --- a/update.sh +++ b/update.sh @@ -37,8 +37,8 @@ elif [ $PWD = "/tmp/tinycheck" ]; then python3 -m pip install -r assets/requirements.txt echo "[+] Building new interfaces..." - cd /usr/share/tinycheck/app/frontend/ && npm install && npm run build - cd /usr/share/tinycheck/app/backend/ && npm install && 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 echo "[+] Updating current configuration with new values." if ! grep -q reboot_option /usr/share/tinycheck/config.yaml; then @@ -78,4 +78,4 @@ elif [ $PWD = "/tmp/tinycheck" ]; then cd /tmp/tinycheck && git tag | tail -n 1 | xargs echo -n > /usr/share/tinycheck/VERSION echo "[+] TinyCheck updated!" -fi \ No newline at end of file +fi