From 903f683052f42e13f8e02e598a21e0607cdacfa0 Mon Sep 17 00:00:00 2001 From: JeremyStarTM Date: Sun, 19 May 2024 21:06:50 +0200 Subject: [PATCH] Update updater script --- bin/updater | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bin/updater b/bin/updater index b6c3d23e..5cc53fbf 100755 --- a/bin/updater +++ b/bin/updater @@ -5,8 +5,10 @@ if [ "$STAGE" == "1" ]; then ./uninstall.sh echo ":: Installing files" ./install.sh - echo ":: Update complete." rm -rf "$HOME/.config/.jstm_dotfiles_updater" + echo ":: Update complete." + echo " Please execute \"dotfiles-install-software\" to" + echo " install and update required software. else echo ":: Checking for updates" if [ ! "$1" == "--force" ] && [ "$(env SCRIPTED=true dotfiles-updatechecker)" == "" ]; then @@ -22,5 +24,5 @@ else echo ":: Pulling updates" git pull echo ":: Running updater (stage 2)" - env STAGE=1 "$HOME/.dotfiles/bin/updater" + exec env STAGE=1 "$HOME/.dotfiles/bin/updater" fi