fix: remove unused var in shell script
This commit is contained in:
@@ -14,8 +14,6 @@ function install_ffmpeg() {
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
OS="linux"
|
|
||||||
|
|
||||||
FFMPEG_VER="8.0"
|
FFMPEG_VER="8.0"
|
||||||
FFMPEG_BUILD_VERSION="20251223233512"
|
FFMPEG_BUILD_VERSION="20251223233512"
|
||||||
FFMPEG_PATH="$(pwd)"
|
FFMPEG_PATH="$(pwd)"
|
||||||
@@ -34,7 +32,7 @@ function install_ffmpeg() {
|
|||||||
|
|
||||||
echo "Downloading ffmpeg v${FFMPEG_VER} release ${FFMPEG_BUILD_VERSION}"
|
echo "Downloading ffmpeg v${FFMPEG_VER} release ${FFMPEG_BUILD_VERSION}"
|
||||||
rm -rf ffmpeg.tar.gz
|
rm -rf ffmpeg.tar.gz
|
||||||
curl -sL --fail https://github.com/owncast/ffmpeg-builds/releases/download/${FFMPEG_BUILD_VERSION}/ffmpeg${FFMPEG_VER}-amd64-static.tar.gz --output ffmpeg.tar.gz >/dev/null
|
curl -sL --fail "https://github.com/owncast/ffmpeg-builds/releases/download/${FFMPEG_BUILD_VERSION}/ffmpeg${FFMPEG_VER}-${OS}-amd64-static.tar.gz" --output ffmpeg.tar.gz >/dev/null
|
||||||
tar -xzf ffmpeg.tar.gz
|
tar -xzf ffmpeg.tar.gz
|
||||||
rm -f ffmpeg.tar.gz
|
rm -f ffmpeg.tar.gz
|
||||||
chmod +x ffmpeg
|
chmod +x ffmpeg
|
||||||
|
|||||||
Reference in New Issue
Block a user