From 8d8f6abd552cda700d3ba8b589a670b2bffba820 Mon Sep 17 00:00:00 2001 From: Matthew McClaskey Date: Tue, 26 Oct 2021 12:40:14 +0000 Subject: [PATCH] WIP --- src/ubuntu/install/squid/install/install_squid.sh | 5 +++++ 1 file changed, 5 insertions(+) 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