xbps-src: only autoremove deps if pkg was built successfully.

This commit is contained in:
Juan RP 2011-10-06 16:54:42 +02:00
parent 12e897fd5a
commit 18ef3e098a
1 changed files with 0 additions and 3 deletions

View File

@ -30,9 +30,6 @@ install_pkg()
{
local curpkgn="$1" fullpkg pkg cdestdir
# Remove automatic package dependencies if set.
autoremove_pkg_dependencies $KEEP_AUTODEPS
pkg="$curpkgn-$version"
[ -n "$INSTALLING_DEPS" ] && setup_tmpl $curpkgn
#