From 67c23c29bc735e50a40bd4423b2b4425dc911e53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Aime?= Date: Tue, 29 Dec 2020 11:00:18 +0100 Subject: [PATCH] Updating the update.sh script --- update.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/update.sh b/update.sh index aef61f5..e2db75e 100644 --- a/update.sh +++ b/update.sh @@ -20,6 +20,7 @@ elif [ $PWD = "/tmp/tinycheck" ]; then rm -rf /usr/share/tinycheck/analysis/ rm /usr/share/tinycheck/update.sh rm /usr/share/tinycheck/kiosk.sh + rm /usr/share/tinycheck/uninstall.sh echo "[+] Copying the new TinyCheck version" cp -R app/ /usr/share/tinycheck/app/ @@ -27,6 +28,7 @@ elif [ $PWD = "/tmp/tinycheck" ]; then cp -R analysis/ /usr/share/tinycheck/analysis/ cp update.sh /usr/share/tinycheck/update.sh cp kiosk.sh /usr/share/tinycheck/kiosk.sh + cp uninstall.sh /usr/share/tinycheck/uninstall.sh echo "[+] Retoring the backend's SSL configuration from /tmp/" mv /tmp/*.pem /usr/share/tinycheck/server/backend/