From 05a05dfca6b26957c988b16b6d648d51f9e3d701 Mon Sep 17 00:00:00 2001 From: Tristan Ancelet Date: Fri, 1 Dec 2023 12:24:18 -0600 Subject: [PATCH] Updated comments and log messages to correct them --- install-discord-linux.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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