Skip to content

Commit

Permalink
fix: wrong dash shell "if clause"
Browse files Browse the repository at this point in the history
  • Loading branch information
pzhlkj6612 committed Jul 30, 2024
1 parent 53f5c19 commit 29a8fb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ RUN mkdir '/SL-plugins' && \
git -C '/SL-plugins' switch --detach 'FETCH_HEAD'

RUN mkdir '/opt/ffmpeg' && \
if [[ "$(uname -m)" = 'x86_64' ]]; then \
if [ "$(uname -m)" = 'x86_64' ]; then \
ffmpeg_url='https://github.com/BtbN/FFmpeg-Builds/releases/download/autobuild-2024-07-27-12-52/ffmpeg-n7.0.1-217-ga83c1a3db9-linux64-gpl-7.0.tar.xz'; \
else \
ffmpeg_url='https://github.com/BtbN/FFmpeg-Builds/releases/download/autobuild-2024-07-26-12-59/ffmpeg-n7.0.1-217-ga83c1a3db9-linuxarm64-gpl-7.0.tar.xz'; \
Expand Down

0 comments on commit 29a8fb7

Please sign in to comment.