mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 19:08:58 +03:00
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
1 changed files with 4 additions and 1 deletions
|
@ -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 a new issue