mirror of
https://github.com/linuxserver/docker-digikam.git
synced 2026-02-20 06:37:47 +08:00
Merge pull request #12 from linuxserver/curl-fail
fail if the curl fails (ex: 404)
This commit is contained in:
commit
87b041ccaf
@ -17,7 +17,7 @@ RUN \
|
||||
DIGIKAM_VERSION=$(curl -s "https://invent.kde.org/graphics/digikam/-/tags?format=atom" \
|
||||
| grep -m 1 -P '<title>(v\d\.\d\.\d)</title>' | sed 's/\(^\s*<title>v\|<\/title>\s*$\)//g'); \
|
||||
fi && \
|
||||
curl -o /app/digikam -L \
|
||||
curl --fail -o /app/digikam -L \
|
||||
https://download.kde.org/stable/digikam/${DIGIKAM_VERSION}/digiKam-${DIGIKAM_VERSION}-x86-64.appimage && \
|
||||
chmod +x /app/digikam && \
|
||||
echo "**** cleanup ****" && \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user