Skip to content

Commit

Permalink
fixed error with centos8/almalinux check
Browse files Browse the repository at this point in the history
  • Loading branch information
serverok committed Jul 15, 2023
1 parent 1c2059f commit 6cdd4ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion squid3-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ elif [ $SOK_OS == "centos7" ]; then
systemctl restart squid
firewall-cmd --zone=public --permanent --add-port=3128/tcp
firewall-cmd --reload
elif [ $SOK_OS == "centos8" ] || [ $SOK_OS == "almalinux8"] || [ $SOK_OS == "almalinux9"]; then
elif [ "$SOK_OS" == "centos8" ] || [ "$SOK_OS" == "almalinux8" ] || [ "$SOK_OS" == "almalinux9" ]; then
yum install squid httpd-tools -y
/bin/rm -f /etc/squid/squid.conf
/usr/bin/touch /etc/squid/blacklist.acl
Expand Down

0 comments on commit 6cdd4ba

Please sign in to comment.