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