Merge pull request #9240 from omacom/fix/acceptance-security-coverage

Fix the bar visibility toggle and make the acceptance suite cover 4.0.2 security hardening

(cherry picked from commit 432b5e3e24)
This commit is contained in:
Ryan Hughes committed 2026-08-30 16:45:30 -04:00
1 parent 9aa0545c2a
commit 6f8b62f04c
6 files changed
+151 -3

No files matched your search

+6 -1
View File
@@ -8,12 +8,17 @@ status=0
verify_core_packages() {
local package
local manifest="$OMARCHY_PATH/install/omarchy-base.packages"
local -a missing=()
# Without this, a missing manifest reads as an empty package list and the
# audit passes having checked nothing.
[[ -f $manifest ]] || fail "all Omarchy core packages are installed" "package manifest not found: $manifest"
while IFS= read -r package; do
[[ -z $package || $package == \#* ]] && continue
pacman -Q "$package" >/dev/null 2>&1 || missing+=("$package")
done <"$OMARCHY_PATH/install/omarchy-base.packages"
done <"$manifest"
(( ${#missing[@]} == 0 )) || fail "all Omarchy core packages are installed" "missing packages: ${missing[*]}"
pass "all Omarchy core packages are installed (${#missing[@]} missing)"