From fa8061c34b16e5e11eab6dd750f0cda503c912cf Mon Sep 17 00:00:00 2001 From: krombel Date: Sun, 14 Jan 2018 22:20:22 +0100 Subject: [PATCH] Check if the linuxdeployqt-AppDir does exist before downloading (#205) When you run the docker-image while being offline this step avoids nheko to be build. --- .ci/linux/deploy.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.ci/linux/deploy.sh b/.ci/linux/deploy.sh index ddac478a..77a4fa06 100755 --- a/.ci/linux/deploy.sh +++ b/.ci/linux/deploy.sh @@ -20,7 +20,10 @@ for iconSize in 16 32 48 64 128 256 512; do cp resources/nheko-${iconSize}.png ${IconDir}/nheko.png done -wget -c "https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage" +# Only download the file when not already present +if ! [ -f linuxdeployqt-continuous-x86_64.AppImage ] ; then + wget -c "https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage" +fi chmod a+x linuxdeployqt*.AppImage unset QTDIR