fixed spellcheck and minor issues for release

This commit is contained in:
2026-10-13 17:49:03 +02:00
parent 8221ac5325
commit ea1a8a7a7e
25 changed files with 74 additions and 205 deletions
+4 -3
View File
@@ -41,6 +41,7 @@ export BASE_URL="https://git.geoffray-levasseur.org/fatalerrors/profile"
load_conf "updates"
# Common helpers, then the ones private to this module (helpers/updates.sh)
# shellcheck source=../helpers/common.sh
declare -F _profile_load_helpers >/dev/null || . "$(dirname -- "${BASH_SOURCE[0]}")/../helpers/common.sh"
_profile_load_helpers "${BASH_SOURCE[0]}"
@@ -278,9 +279,9 @@ profile_upgrade()
mv "$backup_dir" "$MYPATH" 2>/dev/null || true
return 3
}
[[ -n "$branch" ]] && (
cd "$MYPATH" && git checkout "$branch"
) || true
if [[ -n "$branch" ]] && ! ( cd "$MYPATH" && git checkout "$branch" ); then
disp W "Could not switch to branch '$branch'; staying on the default branch."
fi
# The personal files are not in the repository (profile.conf is
# git-ignored): without this the new install would start without