Added log statement to notify user that the desktop file will be udated if there is a difference with the new desktop file setup after installation/update

This commit is contained in:
Tristan Ancelet 2023-12-01 12:26:13 -06:00
parent 05a05dfca6
commit f504eb3c63

View File

@ -194,6 +194,7 @@ if [[ ! -f $INSTALLED_DESKTOP_FILE ]]; then
else
# If there is a change for any reason update it
if [[ "$(<$DESKTOP_FILE)" != "$(<$INSTALLED_DESKTOP_FILE)" ]]; then
log "Desktop file for new version of discord has changed. Updating the existing installation"
DESKTOP_FILE_NEEDS_UPDATE=1
fi
fi