From 81870a9d50a3fdcd7ec6b0211f5c4bb8070c8ed1 Mon Sep 17 00:00:00 2001 From: Jonathan Jogenfors Date: Fri, 22 Sep 2023 14:43:09 +0200 Subject: [PATCH] sudo in the right place --- .github/workflows/test.yml | 2 +- server/bin/install-ffmpeg.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e291883a1..9f28d50f4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -35,7 +35,7 @@ jobs: node-version: "21.0.0-nightly20230921480ab8c3a4" - name: Install dependencies - run: sudo apt-get update && sudo apt-get install -yqq build-essential ninja-build meson pkg-config jq zlib1g autoconf libglib2.0-dev libexpat1-dev librsvg2-dev libexif-dev libwebp-dev liborc-0.4-dev libjpeg-turbo8-dev libgsf-1-dev libheif-dev liblcms2-2 mesa-va-drivers libmimalloc2.0 $(if [ $(arch) = "x86_64" ]; then echo "intel-media-va-driver-non-free"; fi) && FFMPEG_PLATOFMR=jammy sudo ./bin/install-ffmpeg.sh && sudo apt-get autoremove && sudo apt-get clean && rm -rf /var/lib/apt/lists/* + run: sudo apt-get update && sudo apt-get install -yqq build-essential ninja-build meson pkg-config jq zlib1g autoconf libglib2.0-dev libexpat1-dev librsvg2-dev libexif-dev libwebp-dev liborc-0.4-dev libjpeg-turbo8-dev libgsf-1-dev libheif-dev liblcms2-2 mesa-va-drivers libmimalloc2.0 $(if [ $(arch) = "x86_64" ]; then echo "intel-media-va-driver-non-free"; fi) && sudo FFMPEG_PLATOFMR=jammy ./bin/install-ffmpeg.sh && sudo apt-get autoremove && sudo apt-get clean && rm -rf /var/lib/apt/lists/* - name: Install libraw, imagemagick, libvips run: sudo ./bin/build-libraw.sh && sudo ./bin/build-imagemagick.sh && sudo ./bin/build-libvips.sh diff --git a/server/bin/install-ffmpeg.sh b/server/bin/install-ffmpeg.sh index 3a23aa851..0598f7643 100755 --- a/server/bin/install-ffmpeg.sh +++ b/server/bin/install-ffmpeg.sh @@ -2,7 +2,7 @@ set -e -FFMPEG_PLATFORM="${FFMPEG_PLATFORM:=bookworm}" +: "${FFMPEG_PLATFORM:=bookworm}" echo Using platform $FFMPEG_PLATFORM