fix(ci): remove tmp fix pkgrel cs-firewall-bouncer [CI SKIP]

This commit is contained in:
nyyu 2023-12-27 13:30:34 +01:00
parent 3da6dca137
commit 3f260bb652

View File

@ -24,15 +24,6 @@ build() {
epoch=${epoch}: epoch=${epoch}:
fi 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 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