diff options
author | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-09-22 18:47:21 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-09-22 18:47:21 -0300 |
commit | a323ff09d756dd06a559586467c84dbe78069060 (patch) | |
tree | 72ef17c8ece9b29e83634340cd78a5e3cba4ac10 /treepkg | |
parent | cddf27b728fd46157685b3791245fed53393cb18 (diff) |
Deprecate clean-pacman in favor of smart chcleanup
Chcleanup compares the currently installed packages with a clean system list of
packages + the package dependencies and removes the leftovers.
Treepkg runs it as pre-build hook, so FULLBUILDCMD finds only the needed
dependencies.
Diffstat (limited to 'treepkg')
-rwxr-xr-x | treepkg | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -203,8 +203,9 @@ if [ ${DEPTH} -eq 0 ]; then pushd "${BUILDDIR}/${_pkg}" >/dev/null sudo pacman -Syu --noconfirm -# Pass the PACMAN env var to makepkg - PACMAN=$(dirname $0)/clean-pacman ${FULLBUILDCMD} + ${HOOKPREBUILD} + + ${FULLBUILDCMD} # Run local release hook with $1 = $repo ${HOOKLOCALRELEASE} $(egrep ";${_pkg#*_};" "${BUILDORDER}" | cut -d';' -f6) |