call update shell if exists before build
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
nyyu 2021-07-26 20:17:49 +02:00
parent c3274b9469
commit ff960b3368

View File

@ -1,6 +1,11 @@
#!/bin/bash
build() {
if [ -f "update.sh" ]; then
./update.sh
fi
if grep -c 'git+' PKGBUILD > /dev/null ; then
makepkg --nodeps --nobuild --skippgpcheck --noconfirm
fi