Skip to content

Commit 7600d24

Browse files
authored
Update install.sh (#788)
added & unified usage of -y in apt-get in install script to allow unattended installation
1 parent 34c0f16 commit 7600d24

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

setup/install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ function install_python() {
100100
echo -e "\x1b[1;34m[*] Installing Python\x1b[0m"
101101

102102
sudo DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC \
103-
apt-get -y install build-essential gdb lcov pkg-config \
103+
apt-get install -y build-essential gdb lcov pkg-config \
104104
libbz2-dev libffi-dev libgdbm-dev libgdbm-compat-dev liblzma-dev \
105105
libncurses5-dev libreadline6-dev libsqlite3-dev libssl-dev \
106106
lzma tk-dev uuid-dev zlib1g-dev
@@ -123,7 +123,7 @@ function install_powershell() {
123123
# To deal with the following error:
124124
# Couldn't find a valid ICU package installed on the system.
125125
# Please install libicu (or icu-libs) using your package manager and try again.
126-
sudo apt-get install libicu-dev
126+
sudo apt-get install -y libicu-dev
127127

128128
# https://learn.microsoft.com/en-us/powershell/scripting/install/install-other-linux?view=powershell-7.4#binary-archives
129129
ARCH=$(uname -m)

0 commit comments

Comments
 (0)