version/update system: version.sh, --update flag, UPDATE_MODULES, auto-detect existing install

This commit is contained in:
2026-05-30 17:44:38 +02:00
parent dc7ef3cc51
commit d367c4edd0
4 changed files with 122 additions and 7 deletions

View File

@@ -83,7 +83,7 @@ module_main() {
return 0
fi
if ((OMERON_FRESH_INSTALL)); then
if ((OMERON_FRESH_INSTALL || OMERON_UPDATE_MODE)); then
tui_info "Running system update first..."
sudo_run pacman -Syu --noconfirm 2>&1 | tail -3 || true
fi