Updated comments and log messages to correct them

This commit is contained in:
Tristan Ancelet 2023-12-01 12:24:18 -06:00
parent 22669044db
commit 05a05dfca6

View File

@ -186,9 +186,9 @@ esac
# BEGIN: End Work Check # 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 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 DESKTOP_FILE_NEEDS_UPDATE=1
else else
@ -199,9 +199,7 @@ else
fi fi
if [[ $DESKTOP_FILE_NEEDS_UPDATE -eq 1 ]]; then if [[ $DESKTOP_FILE_NEEDS_UPDATE -eq 1 ]]; then
log "Updating/Installing desktop file" log "Updating/Installing desktop file"
desktop-file-install --dir=$LOCAL_APPLICATION_DIR $DESKTOP_FILE desktop-file-install --dir=$LOCAL_APPLICATION_DIR $DESKTOP_FILE
if [[ $? -ne 0 ]]; then if [[ $? -ne 0 ]]; then