self-upgrade exec bash -l

This commit is contained in:
pvincent
2026-08-22 19:34:55 +04:00
parent 3d524d61bf
commit 6d6a802d49
2 changed files with 1 additions and 8 deletions
+1
View File
@@ -53,6 +53,7 @@ function perform_upgrade {
sudo rm -rf "$backup"
echo -n "version: "
miaou-bash --version
exec bash -l
else
echo "ERROR: trouble during self-upgrade: revert back"
sudo rm -rf "$MIAOU_BASH_DIR"