Browse Source

bootstrap-deps script needs root/sudo

Signed-off-by: falkTX <falktx@falktx.com>
pull/28/head
falkTX 1 year ago
parent
commit
ba1139544f
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      .github/workflows/bootstrap-deps.sh

+ 4
- 0
.github/workflows/bootstrap-deps.sh View File

@@ -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



Loading…
Cancel
Save