add warning if package is present in arch repo
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
nyyu 2022-07-03 10:13:32 +02:00
parent d5e9f48dd3
commit 5d080c60b2

View file

@ -17,6 +17,10 @@ build() {
epoch=${epoch}:
fi
if pacman -Si "${name}" | grep -v nyyu | grep -c -E '^Repository' >/dev/null; then
echo "WARN: Found ${name} in arch repo"
fi
if ! compgen -G "/repo/${name}-${epoch}${ver}-${rel}-*.pkg.tar.zst" >/dev/null; then
if makepkg -s --skippgpcheck --noconfirm --sign || makepkg -s --skippgpcheck --nocheck --noconfirm --sign; then
for pkg in *.pkg.tar.zst; do