diff --git a/Joplin_install_and_update.sh b/Joplin_install_and_update.sh index a0866067f..b374d74b3 100755 --- a/Joplin_install_and_update.sh +++ b/Joplin_install_and_update.sh @@ -114,6 +114,16 @@ elif [[ $ARCHITECTURE =~ .*i386.*|.*i686.* ]] ; then exit 1 fi +#----------------------------------------------------- +print "Checking dependencies..." +## Check if libfuse2 is present. +LIBFUSE=$(ldconfig -p | grep "libfuse.so.2" || echo '') +if [[ $LIBFUSE == "" ]] ; then + print "${COLOR_RED}Error: Can't get libfuse2 on system, please install libfuse2${COLOR_RESET}" + print "See https://joplinapp.org/faq/#desktop-application-will-not-launch-on-linux and https://github.com/AppImage/AppImageKit/wiki/FUSE for more information" + exit 1 +fi + #----------------------------------------------------- # Download Joplin #-----------------------------------------------------