From 8241a815f4bf1af285d862d8938c5b913e55146d Mon Sep 17 00:00:00 2001 From: ranlo Date: Sat, 19 Dec 2020 19:59:30 +0200 Subject: [PATCH] Update update.sh changed TinyCheck to tinycheck in /usr/share/; install script is creating tinycheck (lowercase), but update script expects TinyCheck. --- update.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/update.sh b/update.sh index 7958787..c83e4c6 100644 --- a/update.sh +++ b/update.sh @@ -10,9 +10,9 @@ cd /tmp/ && git clone https://github.com/KasperskyLab/TinyCheck # Deleteing the current folders. echo "[+] Deleting the current TinyCheck folders" -rm -rf /usr/share/TinyCheck/app/ -rm -rf /usr/share/TinyCheck/server/ -rm -rf /usr/share/TinyCheck/analysis/ +rm -rf /usr/share/tinycheck/app/ +rm -rf /usr/share/tinycheck/server/ +rm -rf /usr/share/tinycheck/analysis/ # Copying the folders. echo "[+] Copying the new version" @@ -26,6 +26,6 @@ cd /tmp/TinyCheck && python3 -m pip install -r assets/requirements.txt # Back to the VueJS projects and reinstalling all the stuff 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 -echo "[+] TinyCheck updated!" \ No newline at end of file +cd /usr/share/tinycheck/app/frontend/ && npm install && npm run build +cd /usr/share/tinycheck/app/backend/ && npm install && npm run build +echo "[+] TinyCheck updated!"