From 110a6ee4fd3fb5f158b34df4dc9018eecca8f61d Mon Sep 17 00:00:00 2001 From: Kristaps Kaupe Date: Thu, 25 Jun 2020 18:01:31 +0300 Subject: [PATCH] Check for target directories for XDG desktop entry install --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 978b019..ef456a9 100755 --- a/install.sh +++ b/install.sh @@ -285,7 +285,7 @@ joinmarket_install () done if [[ ${with_qt} == "1" ]]; then - if check_exists xdg-open; then + if [[ -d ~/.local/share/icons ]] && [[ -d ~/.local/share/applications ]]; then echo "Installing XDG desktop entry" cp -f "$(dirname "$0")/docs/images/joinmarket_logo.png" \ ~/.local/share/icons/