diff --git a/install-discord-linux.sh b/install-discord-linux.sh index 4c6e3ac..255fa0b 100755 --- a/install-discord-linux.sh +++ b/install-discord-linux.sh @@ -200,8 +200,8 @@ esac ## If discord isn't already setup in your global applications, go ahead and install the desktop file if [[ ! -f $LOCAL_APPLICATION_DIR/discord.desktop ]]; then - log "Desktop file not found in the global applications dir (/usr/share/applications) installing now, asking user for sudo access" - sudo desktop-file-install --dir=$LOCAL_APPLICATION_DIR $DESKTOP_FILE + log "Desktop file not found in the global applications dir ($LOCAL_APPLICATION_DIR) installing now" + desktop-file-install --dir=$LOCAL_APPLICATION_DIR $DESKTOP_FILE if [[ $? -ne 0 ]]; then log "There was an issue with installtion"