Browse Source

self-upgrade

main
pvincent 4 days ago
parent
commit
02673728d2
  1. 1
      lib/self-upgrade.bash

1
lib/self-upgrade.bash

@ -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"

Loading…
Cancel
Save