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
1 changed files with 5 additions and 0 deletions
5
build.sh
5
build.sh
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue