add warning if package is present in arch repo
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
d5e9f48dd3
commit
5d080c60b2
1 changed files with 4 additions and 0 deletions
4
build.sh
4
build.sh
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue