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
|
if [[ "$current" == "$latest" ]]; then
|
||||||
echo "up-to-date version: $current"
|
echo "up-to-date version: $current"
|
||||||
else
|
else
|
||||||
|
rm -rf "$MIAOU_BASH_DIR"
|
||||||
bootstrap
|
bootstrap
|
||||||
miaou-bash "$MIAOU_BASH_DIR/lib/init.bash"
|
miaou-bash "$MIAOU_BASH_DIR/lib/init.bash"
|
||||||
echo "miaou-bash successfully updated"
|
echo "miaou-bash successfully updated"
|
||||||
|
|||||||
Reference in New Issue
Block a user