From 26036fc28ea57018a3eaa4e13957fe0e918ccc10 Mon Sep 17 00:00:00 2001 From: JeremyStarTM Date: Sun, 2 Jun 2024 21:35:19 +0200 Subject: [PATCH] [DO NOT UPDATE] Update wording --- bin/updater | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/bin/updater b/bin/updater index 07a1539f..a838d93f 100755 --- a/bin/updater +++ b/bin/updater @@ -13,18 +13,18 @@ case "${STAGE}" in echo ":: S1 | Unlinking legacy file paths" ./uninstall.sh --remove-legacy-paths - echo ":: S1 | Unlinking files (safety measure)" + echo ":: S1 | Uninstalling & unlinking (safety measure)" ./uninstall.sh else - echo ":: S1 | Unlinking files" + echo ":: S1 | Uninstalling" ./uninstall.sh fi - echo ":: S1 | Linking files" + echo ":: S1 | Installing" ./install.sh # Remove legacy updater version file - rm -rf "$HOME/.config/.jstm_dotfiles_updater" + [[ -f "${HOME}/.config/.jstm_dotfiles_updater" ]] && rm -rf "${HOME}/.config/.jstm_dotfiles_updater" echo ":: S1 | Update complete." echo " Make sure to execute \"dotfiles-install-software\"" @@ -46,7 +46,7 @@ case "${STAGE}" in echo ":: S0 | Pulling updates" git pull - exec env STAGE=1 UPDATER_VERSION=${LOCAL_UPDATER_VERSION} "$HOME/.dotfiles/bin/updater" + exec env STAGE=1 UPDATER_VERSION=${LOCAL_UPDATER_VERSION} "${HOME}/.dotfiles/bin/updater" ;; esac