self-upgrade
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user