From 8d07bc0c119237852f767f649e17c6eccd978880 Mon Sep 17 00:00:00 2001 From: Daniel Hansson Date: Wed, 4 Oct 2023 20:13:13 +0200 Subject: [PATCH] add -y flag not sure about the other package managers. --- lib.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib.sh b/lib.sh index 93c5a53..68755ac 100644 --- a/lib.sh +++ b/lib.sh @@ -134,7 +134,7 @@ install_linux_package() { # osInfo[/etc/alpine-release]=apk if [ -x "$(command -v apt-get)" ] then - sudo apt-get install "${1}" + sudo apt-get install "${1}" -y elif [ -x "$(command -v apk)" ] then sudo apk add --no-cache "${1}"