From 03b6a61be768984f8c8a12b6b3d2bf33ab91664e Mon Sep 17 00:00:00 2001 From: Yujin Boby Date: Sat, 24 Jun 2023 11:16:20 +0530 Subject: [PATCH] updated uninstall script --- squid-uninstall.sh | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/squid-uninstall.sh b/squid-uninstall.sh index 969d67f..ea92eac 100644 --- a/squid-uninstall.sh +++ b/squid-uninstall.sh @@ -1,12 +1,12 @@ #!/bin/bash + ############################################################ # Squid Proxy Installer # Author: Yujin Boby -# Email: info@serverok.in +# Email: admin@serverOk.in # Github: https://github.com/serverok/squid-proxy-installer/ # Web: https://serverok.in/squid -############################################################ -# For paid support, contact +# If you need professional assistance, reach out to # https://serverok.in/contact ############################################################ @@ -54,6 +54,11 @@ elif [ $SOK_OS == "debian10" ]; then /usr/bin/apt -y remove --purge squid squid-common squid-langpack /bin/rm -rf /etc/squid/ /bin/rm -rf /var/spool/squid +elif [ $SOK_OS == "debian11" ]; then + echo "Uninstalling Squid Proxy on Debian 11" + /usr/bin/apt -y remove --purge squid squid-common squid-langpack + /bin/rm -rf /etc/squid/ + /bin/rm -rf /var/spool/squid elif [ $SOK_OS == "centos7" ]; then yum remove squid -y /bin/rm -rf /etc/squid/