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:
parent
4521837765
commit
fa8061c34b
@ -20,7 +20,10 @@ for iconSize in 16 32 48 64 128 256 512; do
|
|||||||
cp resources/nheko-${iconSize}.png ${IconDir}/nheko.png
|
cp resources/nheko-${iconSize}.png ${IconDir}/nheko.png
|
||||||
done
|
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
|
chmod a+x linuxdeployqt*.AppImage
|
||||||
|
|
||||||
unset QTDIR
|
unset QTDIR
|
||||||
|
Loading…
Reference in New Issue
Block a user