call update shell if exists before build
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
c3274b9469
commit
ff960b3368
5
build.sh
5
build.sh
@ -1,6 +1,11 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
|
||||||
|
if [ -f "update.sh" ]; then
|
||||||
|
./update.sh
|
||||||
|
fi
|
||||||
|
|
||||||
if grep -c 'git+' PKGBUILD > /dev/null ; then
|
if grep -c 'git+' PKGBUILD > /dev/null ; then
|
||||||
makepkg --nodeps --nobuild --skippgpcheck --noconfirm
|
makepkg --nodeps --nobuild --skippgpcheck --noconfirm
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user