From 179140af2a0ee91059e4f9b4b818322c86a2ca5a Mon Sep 17 00:00:00 2001 From: Alexander Eimer Date: Wed, 25 Oct 2023 12:31:44 +0200 Subject: [PATCH] fix: sudo --- .ci-scripts/install-packages.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci-scripts/install-packages.sh b/.ci-scripts/install-packages.sh index 81efb5b..0826052 100755 --- a/.ci-scripts/install-packages.sh +++ b/.ci-scripts/install-packages.sh @@ -26,7 +26,7 @@ if [[ "$runnerType" == "gitlab" ]]; then apt-get update apt-get -qy install "${aptGetInstallPackages[*]}" elif [[ "$runnerType" == "github" ]]; then - sudo echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections + echo 'debconf debconf/frontend select Noninteractive' | sudo debconf-set-selections sudo apt-get -q update sudo apt-get -qy install "${aptGetInstallPackages[*]}" fi