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.
This commit is contained in:
krombel 2018-01-14 22:20:22 +01:00 committed by mujx
parent 4521837765
commit fa8061c34b

View file

@ -20,7 +20,10 @@ for iconSize in 16 32 48 64 128 256 512; do
cp resources/nheko-${iconSize}.png ${IconDir}/nheko.png
done
# 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