no-mistakes(document): Clarify rebuild updates and check guidance
This commit is contained in:
1 parent
022967e277
commit
ad55229df8
4 files changed
+73
-22
No files matched your search
@@ -344,7 +344,7 @@ in
|
||||
# older. A newer copy is left alone so rebuild.sh's latest-release update
|
||||
# survives the next switch.
|
||||
want_tasks_axi="0.2.6"
|
||||
have_tasks_axi="$(tasks-axi --version 2>/dev/null | head -1 | tr -d '[:space:]')"
|
||||
have_tasks_axi="$(tasks-axi --version 2>/dev/null | head -1 | tr -d '[:space:]' || true)"
|
||||
if [ -z "$have_tasks_axi" ] \
|
||||
|| [ "$(printf '%s\n%s\n' "$want_tasks_axi" "$have_tasks_axi" | sort -V | head -1)" != "$want_tasks_axi" ]; then
|
||||
"$npm" install -g "tasks-axi@$want_tasks_axi"
|
||||
|
||||
Reference in new issue
Block a user