diff --git a/src/ubuntu/install/squid/install/install_squid.sh b/src/ubuntu/install/squid/install/install_squid.sh index 08164b7..0fb2fa6 100644 --- a/src/ubuntu/install/squid/install/install_squid.sh +++ b/src/ubuntu/install/squid/install/install_squid.sh @@ -5,6 +5,11 @@ ARCH=$(arch | sed 's/aarch64/arm64/g' | sed 's/x86_64/amd64/g') # intall squid SQUID_COMMIT='6392f7dfb1040c67c0a5d5518abf508282523cc0' +SQUID_DISTRO=${DISTRO} +# currently all distros use the ubuntu build of squid except centos +if [ ! "${SQUID_DISTRO}" == "centos" ] ; then + SQUID_DISTRO="ubuntu" +fi wget -qO- "https://kasmweb-build-artifacts.s3.amazonaws.com/kasm-squid-builder/${SQUID_COMMIT}/output/kasm-squid-builder_${DISTRO}_${ARCH}.tar.gz" | tar -xzf - -C / # update squid conf with user info