diff --git a/.gitea/workflows/tests.yaml b/.gitea/workflows/tests.yaml index dc7c118..6633f5a 100644 --- a/.gitea/workflows/tests.yaml +++ b/.gitea/workflows/tests.yaml @@ -350,7 +350,9 @@ jobs: if [ ${#PKGS[@]} -eq 0 ]; then echo "✅ No resolvable packages to check." else - OUT=$(pac -S --noconfirm --root "$ROOT" --cachedir "$ROOT" "${PKGS[@]}" 2>&1) + # pacman exits non-zero either way; judge by its output, not + # its status (bash -e would otherwise kill the step silently) + OUT=$(pac -S --noconfirm --root "$ROOT" --cachedir "$ROOT" "${PKGS[@]}" 2>&1) || true if grep -q 'failed to prepare transaction' <<< "$OUT"; then echo "------- Pacman Output -------" grep -vE '^(http|file|ftp)' <<< "$OUT" | tail -40 diff --git a/CLAUDE.md b/CLAUDE.md new file mode 120000 index 0000000..47dc3e3 --- /dev/null +++ b/CLAUDE.md @@ -0,0 +1 @@ +AGENTS.md \ No newline at end of file