diff --git a/main/setup.sh b/main/setup.sh index a514f62..9a6b34f 100755 --- a/main/setup.sh +++ b/main/setup.sh @@ -152,6 +152,7 @@ if [ -e /home/${USER}/krita-${KRITA_VERSION}-x86_64.AppImage ] else echo " " echo "WARNING ! krita-${KRITA_VERSION}-x86_64.AppImage not installed ... will install now." + rm -fr /home/${USER}/krita-*-x86_64.AppImage wget --no-cache --show-progress --progress=bar:force:noscroll "https://download.kde.org/stable/krita/${KRITA_VERSION}/krita-${KRITA_VERSION}-x86_64.AppImage" -O /home/${USER}/krita-${KRITA_VERSION}-x86_64.AppImage chown ${USER} /home/${USER}/krita-${KRITA_VERSION}-x86_64.AppImage chmod +x /home/${USER}/krita-${KRITA_VERSION}-x86_64.AppImage