commit 9b5768a636f67901188f5a8ab08efacc96d3bda8
parent 58557e407ad02f95c7347b22dfd756a1a02ccdc5
Author: Yersa Nordman <yersa@finwo.nl>
Date: Sat, 7 Oct 2023 23:23:28 +0200
Add sudo for apt-get install in github-actions
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/install-pkg.sh b/.github/install-pkg.sh
@@ -6,7 +6,7 @@ os="unknown"
# Basic OS detection
if command -v apt-get &>/dev/null; then
# Debian or it's derivatives
- install_cmd="apt-get install -yq"
+ install_cmd="sudo apt-get install -yq"
os="debian"
elif command -v apk &>/dev/null; then
# Alpine