fix: detection arch repo
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
nyyu 2023-02-11 11:26:44 +01:00
parent 3042d746ae
commit c835260be7

View file

@ -1,4 +1,4 @@
#!/bin/bash +x #!/bin/bash
# shellcheck disable=SC3044,SC3009 # shellcheck disable=SC3044,SC3009
. .util.sh . .util.sh
@ -22,7 +22,7 @@ build() {
epoch=${epoch}: epoch=${epoch}:
fi fi
if pacman -Si "${name}" || true | grep -v nyyu | grep -c -E '^Repository' &>/dev/null; then if pacman -Si "${name}" 2> /dev/null | grep -v nyyu | grep -c -E '^Repository' &>/dev/null; then
echo "WARN: Found ${name} in arch repo" echo "WARN: Found ${name} in arch repo"
fi fi