From 3d18d7ba135ab2eee17b5676afdf610b4aff2fea Mon Sep 17 00:00:00 2001 From: b068931cc450442b63f5b3d276ea4297 <77171083+b068931cc450442b63f5b3d276ea4297@users.noreply.github.com> Date: Mon, 15 Jan 2024 22:47:33 +0100 Subject: [PATCH] consistent spelling of SpyGuard for install, uninstall and update --- install.sh | 4 ++-- uninstall.sh | 4 ++-- update.sh | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/install.sh b/install.sh index 9135bb1..3683ebd 100644 --- a/install.sh +++ b/install.sh @@ -66,8 +66,8 @@ set_credentials() { } create_directory() { - # Create the Spyguard directory and move the whole stuff there. - echo -e "[+] Creating Spyguard folder under /usr/share/" + # Create the SpyGuard directory and move the whole stuff there. + echo -e "[+] Creating SpyGuard folder under /usr/share/" mkdir /usr/share/spyguard cp -Rf ./* /usr/share/spyguard } diff --git a/uninstall.sh b/uninstall.sh index 8f04401..4c8bf63 100755 --- a/uninstall.sh +++ b/uninstall.sh @@ -1,11 +1,11 @@ delete_folder(){ - echo "[+] Deleting Spyguard folders" + echo "[+] Deleting SpyGuard folders" rm -rf /usr/share/spyguard/ } delete_services(){ - echo "[+] Deleting Spyguard services" + echo "[+] Deleting SpyGuard services" systemctl disable spyguard-frontend &> /dev/null systemctl disable spyguard-backend &> /dev/null diff --git a/update.sh b/update.sh index bd0cd31..06ada8c 100755 --- a/update.sh +++ b/update.sh @@ -11,7 +11,7 @@ if [ $PWD = "/usr/share/spyguard" ]; then cd /tmp/spyguard && bash update.sh elif [ $PWD = "/tmp/spyguard" ]; then - echo "[+] Saving spyguard backend's SSL configuration in /tmp/" + echo "[+] Saving SpyGuard backend's SSL configuration in /tmp/" mv /usr/share/spyguard/server/backend/*.pem /tmp/ echo "[+] Deleting the current SpyGuard folders and files." @@ -48,4 +48,4 @@ elif [ $PWD = "/tmp/spyguard" ]; then cd /tmp/spyguard && git tag | tail -n 1 | xargs echo -n > /usr/share/spyguard/VERSION echo "[+] SpyGuard updated!" -fi \ No newline at end of file +fi