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