diff --git a/.gitea/workflows/tests.yaml b/.gitea/workflows/tests.yaml index 294e491..f8d6d6d 100644 --- a/.gitea/workflows/tests.yaml +++ b/.gitea/workflows/tests.yaml @@ -192,7 +192,7 @@ jobs: echo " Allowed repos: cachyos, extra, multilib, chaotic-aur" echo "═══════════════════════════════════════════════════════════════" - ALLOWED_REPOS="^(cachyos|extra|multilib|chaotic-aur)$" + ALLOWED_REPOS="^(core|extra|multilib|cachyos|chaotic-aur)$" MISSING=() FOUND=0 TOTAL=0 @@ -202,8 +202,8 @@ jobs: [[ -z "$pkg" || "$pkg" =~ ^# ]] && continue TOTAL=$((TOTAL + 1)) - # Query pacman for the package's repository - repo=$(pacman -Si "$pkg" 2>/dev/null | grep "^Repository" | awk '{print $3}') + # Query pacman for the package's repository (strip \r just in case) + repo=$(pacman -Si "$pkg" 2>/dev/null | grep "^Repository" | awk '{print $3}' | tr -d '\r') if [[ -z "$repo" ]]; then echo "❌ MISSING: $pkg"