diff options
author | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2012-02-05 02:45:18 -0300 |
---|---|---|
committer | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2012-02-05 02:45:18 -0300 |
commit | 7d6e9b08d749983263ed3ee890f73d13e73740c8 (patch) | |
tree | 8f3b903b3c9bd3e42b4239135a53cb697a463374 | |
parent | 9f28620de84a5a35d2ca029ad9145a4b01233929 (diff) |
Make treepkg run HOOKLOCALRELEASE and mipsrelease update the databases
treepkg should stay away of updating databases, since it can be used inside or
outside the chroot. (updating dbs from outside is unnecessary)
-rwxr-xr-x | mips64el/mipsrelease | 2 | ||||
-rwxr-xr-x | treepkg | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/mips64el/mipsrelease b/mips64el/mipsrelease index 1a4aade..e1035aa 100755 --- a/mips64el/mipsrelease +++ b/mips64el/mipsrelease @@ -57,4 +57,6 @@ popd >/dev/null $libretoolsdir/chcleanup || true +sudo pacman -Sy + exit $? @@ -148,6 +148,7 @@ if [ ${DEPTH} -eq 0 ]; then # Run build command pushd "${BUILDDIR}/${_pkg}" >/dev/null ${FULLBUILDCMD} + ${HOOKLOCALRELEASE} popd >/dev/null done |