xbps-src: only autoremove deps if pkg was built successfully.
This commit is contained in:
parent
12e897fd5a
commit
18ef3e098a
|
@ -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
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue