diff --git a/install-discord-linux.sh b/install-discord-linux.sh index bd54b53..5958826 100755 --- a/install-discord-linux.sh +++ b/install-discord-linux.sh @@ -60,7 +60,7 @@ function update_desktop_file() { ## Escaped becuase it would mess up the replacement syntax EXEC_TO_REPLACE=\/usr\/share\/discord\/Discord - EXEC_REPLACEMENT=$EXISTING_INSTALL\/Discord + EXEC_REPLACEMENT=$EXISTING_INSTALL/Discord ## Loading the desktop file contents into a variable to use replacement without sed DESKTOP_FILE_CONTENTS="$(<$DESKTOP_FILE)"