Skip to content

Commit

Permalink
bootstrap-deps script needs root/sudo
Browse files Browse the repository at this point in the history
Signed-off-by: falkTX <[email protected]>
  • Loading branch information
falkTX committed Dec 23, 2023
1 parent 9ed4628 commit ba11395
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/bootstrap-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,10 @@ case "${1}" in
[ -n "${GITHUB_ENV}" ] && echo "PAWPAW_PACK_NAME=${1}-$(sw_vers -productVersion | cut -d '.' -f 1)" >> "${GITHUB_ENV}"
;;
*)
if [ "$(id -u)" -ne 0 ] && [ -e /usr/bin/sudo ]; then
exec /usr/bin/sudo $0 "$@"
fi

apt-get update -qq
apt-get install -yqq autoconf automake build-essential curl cmake file git jq libglib2.0-dev-bin libtool lsb-release make meson gperf patchelf pkg-config uuid-dev zlib1g-dev

Expand Down

0 comments on commit ba11395

Please sign in to comment.