self-upgrade

This commit is contained in:
pvincent
2026-08-07 01:12:53 +04:00
parent fbbcf99bae
commit 02673728d2
+1
View File
@@ -40,6 +40,7 @@ latest=$("$MIAOU_BASH_DIR/tools/wget_semver" artcode miaou/miaou-bash)
if [[ "$current" == "$latest" ]]; then
echo "up-to-date version: $current"
else
rm -rf "$MIAOU_BASH_DIR"
bootstrap
miaou-bash "$MIAOU_BASH_DIR/lib/init.bash"
echo "miaou-bash successfully updated"