diff --git a/install-discord-linux.sh b/install-discord-linux.sh index 12909f8..b6e2fee 100755 --- a/install-discord-linux.sh +++ b/install-discord-linux.sh @@ -186,9 +186,9 @@ esac # BEGIN: End Work Check -## If discord isn't already setup in your global applications, go ahead and install the desktop file +## If discord isn't already setup, go ahead and mark it for install/update if [[ ! -f $INSTALLED_DESKTOP_FILE ]]; then - log "Desktop file not found in the global applications dir ($LOCAL_APPLICATION_DIR) installing now" + log "Desktop file not found in the local applications dir ($LOCAL_APPLICATION_DIR) installing now" DESKTOP_FILE_NEEDS_UPDATE=1 else @@ -199,9 +199,7 @@ else fi if [[ $DESKTOP_FILE_NEEDS_UPDATE -eq 1 ]]; then - log "Updating/Installing desktop file" - desktop-file-install --dir=$LOCAL_APPLICATION_DIR $DESKTOP_FILE if [[ $? -ne 0 ]]; then