Skip to content

Commit

Permalink
updated uninstall script
Browse files Browse the repository at this point in the history
  • Loading branch information
serverok committed Jun 24, 2023
1 parent 328d853 commit 03b6a61
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions squid-uninstall.sh
Original file line number Diff line number Diff line change
@@ -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
############################################################

Expand Down Expand Up @@ -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/
Expand Down

0 comments on commit 03b6a61

Please sign in to comment.