Skip to content

Commit

Permalink
Add DEBIAN_FRONTEND=noninteractive
Browse files Browse the repository at this point in the history
  • Loading branch information
apaz-cli committed Jan 7, 2025
1 parent 040697b commit e1a81a5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions setup
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ install_package() {
fi

if [ "$(id -u)" -ne 0 ]; then
sudo apt update
sudo apt install -y $@
DEBIAN_FRONTEND=noninteractive sudo apt update
DEBIAN_FRONTEND=noninteractive sudo apt install -y $@
else
apt update
apt install -y $@
DEBIAN_FRONTEND=noninteractive apt update
DEBIAN_FRONTEND=noninteractive apt install -y $@
fi
}

Expand Down Expand Up @@ -68,7 +68,7 @@ install_package "wget curl nano tree locate jq kitty-terminfo"
if [ ! "$PRIME" = "" ]; then
curl -sSL https://raw.githubusercontent.com/PrimeIntellect-ai/prime/main/scripts/install/install.sh > /tmp/prime_install.sh
chmod +x /tmp/prime_install.sh
/tmp/prime_install.sh
DEBIAN_NONINTERACTIVE=1 /tmp/prime_install.sh
rm /tmp/prime_install.sh
fi

Expand Down

0 comments on commit e1a81a5

Please sign in to comment.