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.
pull/1/head
krombel 7 years ago committed by mujx
parent 4521837765
commit fa8061c34b
  1. 5
      .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

Loading…
Cancel
Save