diff --git a/squid-uninstall.sh b/squid-uninstall.sh index 68ec979..969d67f 100644 --- a/squid-uninstall.sh +++ b/squid-uninstall.sh @@ -22,7 +22,10 @@ fi SOK_OS=$(/usr/local/bin/sok-find-os) -if [ $SOK_OS == "ubuntu2004" ]; then +if [ $SOK_OS == "ubuntu2204" ]; then + /usr/bin/apt -y remove --purge squid squid-common squid-langpack + rm -rf /etc/squid/ +elif [ $SOK_OS == "ubuntu2004" ]; then /usr/bin/apt -y remove --purge squid* rm -rf /etc/squid/ elif [ $SOK_OS == "ubuntu1804" ]; then