diff --git a/main/setup.sh b/main/setup.sh index fe09db9..2c00d55 100644 --- a/main/setup.sh +++ b/main/setup.sh @@ -131,15 +131,27 @@ apt-get install --no-install-recommends -y gimp # rm -fr jellyfin-media-player_${JF_VERSION}-${LINUX_VERSION}.deb # fi -# if [ -e /home/${USER}/krita-${KRITA_VERSION}-x86_64.AppImage ] -# then -# echo "INFO ! krita-${KRITA_VERSION}-x86_64.AppImage installed ... moving on." -# else -# echo " " -# echo "WARNING ! krita-${KRITA_VERSION}-x86_64.AppImage not installed ... will install now." -# 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 -# fi +if [ -e /home/${USER}/krita-${KRITA_VERSION}-x86_64.AppImage ] + then + echo "INFO ! krita-${KRITA_VERSION}-x86_64.AppImage installed ... moving on." + else + echo " " + echo "WARNING ! krita-${KRITA_VERSION}-x86_64.AppImage not installed ... will install now." + 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 + + tee /home/${USER}/Desktop/krita.desktop <