diff --git a/dzgui.sh b/dzgui.sh index ba0eb3c..e396e89 100755 --- a/dzgui.sh +++ b/dzgui.sh @@ -1649,7 +1649,7 @@ check_version(){ [[ -f $config_file ]] && source $config_file [[ -z $branch ]] && branch="stable" check_branch - [[ ! -d "$freedesktop_path" ]] && freedesktop_dirs + [[ ! -f "$freedesktop_path/dzgui.desktop" ]] && freedesktop_dirs if [[ $version == $upstream ]]; then check_unmerged else