summaryrefslogtreecommitdiff
path: root/treepkg
diff options
context:
space:
mode:
Diffstat (limited to 'treepkg')
-rwxr-xr-xtreepkg2
1 files changed, 2 insertions, 0 deletions
diff --git a/treepkg b/treepkg
index b3e4fe0..a49301e 100755
--- a/treepkg
+++ b/treepkg
@@ -185,6 +185,8 @@ if [ ${DEPTH} -eq 0 ]; then
# Run build command
pushd "${BUILDDIR}/${_pkg}" >/dev/null
+ sudo pacman -Syu
+
${FULLBUILDCMD}
# Run local release hook with $1 = $repo
${HOOKLOCALRELEASE} $(egrep ";${_pkg#*_};" "${BUILDORDER}" | cut -d';' -f6)