Skip to content

Commit

Permalink
fix fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lepapareil authored Aug 29, 2024
1 parent 2ae5f62 commit d8e1e60
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions bin/install_prerequisites_ubuntu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -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
Expand Down

0 comments on commit d8e1e60

Please sign in to comment.