From c9fd171da5f09cc69aef18a05fa03e06fb8c0d95 Mon Sep 17 00:00:00 2001 From: Christopher Canel Date: Thu, 23 May 2024 17:11:59 +0000 Subject: [PATCH] Debugging install_linux.sh --- linux/install_linux.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/linux/install_linux.sh b/linux/install_linux.sh index 0cffb4b..a748b45 100755 --- a/linux/install_linux.sh +++ b/linux/install_linux.sh @@ -2,7 +2,7 @@ set -eoux pipefail -if [ "$#" -ne 1 ]; then +if [ "$#" -ne 1 ] && [ "$#" -ne 2 ]; then echo "ERROR: Illegal number of parameters." echo "Usage: ./install_linux.sh
" exit 255 @@ -13,6 +13,7 @@ if [ -z "$2" ]; then version="$2" fi +sudo apt-get update DEBIAN_FRONTEND="noninteractive" sudo apt-get -y --no-install-recommends install \ git \ fakeroot \