fix: detection arch repo
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
3042d746ae
commit
c835260be7
1 changed files with 2 additions and 2 deletions
4
build.sh
4
build.sh
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue