fix(ci): remove tmp fix pkgrel cs-firewall-bouncer [CI SKIP]
This commit is contained in:
parent
3da6dca137
commit
3f260bb652
9
build.sh
9
build.sh
@ -24,15 +24,6 @@ build() {
|
||||
epoch=${epoch}:
|
||||
fi
|
||||
|
||||
# TMP: fix wrong pkgrel cs-firewall-bouncer
|
||||
if [[ "$name" == "cs-firewall-bouncer" ]]; then
|
||||
relpkg=$(grep -E '^pkgrel' PKGBUILD | cut -d'=' -f2 | tr -d ' ')
|
||||
if [[ "$rel" != "$pkgrel" ]]; then
|
||||
rel=1
|
||||
sed -i 's/^pkgrel=.*/pkgrel=1/' PKGBUILD
|
||||
fi
|
||||
fi
|
||||
|
||||
if pacman -Si "${name}" 2>/dev/null | grep -v nyyu | grep -c -E '^Repository' &>/dev/null; then
|
||||
echo "WARN: Found ${name} in arch repo"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user