Browse Source

install2

main
pvincent 3 weeks ago
parent
commit
3339aec782
  1. 2
      lib/self-upgrade.bash

2
lib/self-upgrade.bash

@ -26,7 +26,7 @@ sudo_root
assert_system_mode assert_system_mode
current=$("$MIAOU_BASH_DIR"/bin/miaou-bash --version) current=$("$MIAOU_BASH_DIR"/bin/miaou-bash --version)
latest=$("$MIAOU_BASH_DIR/tools/wget_semver" artcode miaou/miaou-bash)
latest=$("$MIAOU_BASH_DIR"/tools/wget_semver artcode miaou/miaou-bash)
if [[ "$current" == "$latest" ]]; then if [[ "$current" == "$latest" ]]; then
. "$MIAOU_BASH_DIR"/lib/initiate.bash . "$MIAOU_BASH_DIR"/lib/initiate.bash
echo "up-to-date version: $current" echo "up-to-date version: $current"

Loading…
Cancel
Save