Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.
C++
[qt6] Fix build-image.sh for AppImage packaging
Dmitry Kazakov8112d26f02bf
diff --git a/packaging/linux/appimage/build-image.sh b/packaging/linux/appimage/build-image.shindex 0cb7a1dd78..3ed9fca920 100755--- a/packaging/linux/appimage/build-image.sh+++ b/packaging/linux/appimage/build-image.sh@@ -143,7 +143,11 @@ fi# Step 1: Copy over all necessary resources required by dependencies or libraries that are missed by linuxdeployqtcp -r $DEPS_INSTALL_PREFIX/share/locale $APPDIR/usr/share/krita-cp -r $DEPS_INSTALL_PREFIX/share/kf5 $APPDIR/usr/share+if [ -d $DEPS_INSTALL_PREFIX/share/kf5 ]; then+ cp -r $DEPS_INSTALL_PREFIX/share/kf5 $APPDIR/usr/share+else+ cp -r $DEPS_INSTALL_PREFIX/share/kf6 $APPDIR/usr/share+ficp -r $DEPS_INSTALL_PREFIX/share/mime $APPDIR/usr/sharecp -r $DEPS_INSTALL_PREFIX/lib/python3.10 $APPDIR/usr/libif [ -d $DEPS_INSTALL_PREFIX/share/sip ] ; then