Had to unescape EXEX_REPLACEMENT that would've prevented the desktop file from being valid
This commit is contained in:
parent
b44ac4e4b4
commit
4ab64cc1f1
@ -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)"
|
||||
|
Loading…
Reference in New Issue
Block a user