mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-19 22:09:37 +00:00
fix: use sudo for ffmpeg static binary extraction to /usr/local/bin
This commit is contained in:
6
.github/workflows/pr-qa.yaml
vendored
6
.github/workflows/pr-qa.yaml
vendored
@@ -329,8 +329,10 @@ jobs:
|
||||
echo "ffmpeg already installed"
|
||||
else
|
||||
echo "Downloading static ffmpeg..."
|
||||
curl -sL "https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz" \
|
||||
| tar xJ --strip-components=1 --wildcards '*/ffmpeg' -C /usr/local/bin/
|
||||
TMP=$(mktemp -d)
|
||||
curl -sL "https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz" | tar xJ -C "$TMP"
|
||||
sudo cp "$TMP"/ffmpeg-*/ffmpeg /usr/local/bin/
|
||||
rm -rf "$TMP"
|
||||
fi
|
||||
ffmpeg -version | head -1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user