From d8e1e60409b1c49194b6fe8975050e8091d21349 Mon Sep 17 00:00:00 2001 From: Filipe PINTO Date: Thu, 29 Aug 2024 16:15:25 +0200 Subject: [PATCH] fix fix --- bin/install_prerequisites_ubuntu.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/bin/install_prerequisites_ubuntu.sh b/bin/install_prerequisites_ubuntu.sh index c7377e95dde..7aaed75a728 100755 --- a/bin/install_prerequisites_ubuntu.sh +++ b/bin/install_prerequisites_ubuntu.sh @@ -3,12 +3,15 @@ set -Eeuo pipefail echo "----- install prerequisite packages -----" export DEBIAN_FRONTEND=noninteractive +echo ">>>>>>>>>> DEBIAN_FRONTEND=$DEBIAN_FRONTEND" if ! command -V sudo >/dev/null 2>&1 ; then + echo ":: Installing sudo..." apt-get update - DEBIAN_FRONTEND=noninteractive apt-get -y install sudo + apt-get -y install sudo fi +echo ":: Installing prerequisistes" sudo apt-get update -sudo DEBIAN_FRONTEND=noninteractive apt-get -y install \ +sudo apt-get -y install \ bash \ expect \ curl \ @@ -27,6 +30,8 @@ sudo DEBIAN_FRONTEND=noninteractive apt-get -y install \ netcat-openbsd \ squid \ jq + +echo ":: Killing squid..." sudo service squid stop || true sudo squid -k shutdown || true sudo rm -v /dev/shm/squid*.shm >/dev/null 2>&1 || true