From 732b287a57462c685f850658c69710ca295594f8 Mon Sep 17 00:00:00 2001 From: Nils Winkler Date: Wed, 31 May 2017 17:41:56 +0200 Subject: [PATCH] Run migrate command after a succesful update --- lib/helpers.bash | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/helpers.bash b/lib/helpers.bash index 7974bd5f..d26d39b8 100644 --- a/lib/helpers.bash +++ b/lib/helpers.bash @@ -145,7 +145,12 @@ _bash-it_update() { if [[ -n "${status}" ]]; then git pull --rebase &> /dev/null if [[ $? -eq 0 ]]; then - echo "Bash-it successfully updated, enjoy!" + echo "Bash-it successfully updated." + echo "" + echo "Migrating your installation to the latest version now..." + _bash-it-migrate + echo "" + echo "All done, enjoy!" reload else echo "Error updating Bash-it, please, check if your Bash-it installation folder (${BASH_IT}) is clean."