From 543263c70fb7785f550d2282b3d23da8e8feee42 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 3 Jul 2011 08:26:35 +0200 Subject: [PATCH] xbps-src: make sure to always remove autodeps in errors. --- xbps-src/shutils/builddep_funcs.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/xbps-src/shutils/builddep_funcs.sh b/xbps-src/shutils/builddep_funcs.sh index 0b19c78c590..354b09924c9 100644 --- a/xbps-src/shutils/builddep_funcs.sh +++ b/xbps-src/shutils/builddep_funcs.sh @@ -60,8 +60,7 @@ autoremove_pkg_dependencies() # If XBPS_PREFER_BINPKG_DEPS is set, we should remove those # package dependencies installed by the target package, do it. # - if [ -n "$XBPS_PREFER_BINPKG_DEPS" -a -z "$base_chroot" \ - -a -z "$INSTALLING_DEPS" ]; then + if [ -n "$XBPS_PREFER_BINPKG_DEPS" -a -z "$base_chroot" ]; then msg_normal "'$pkgname': removing automatically installed dependencies ...\n" # Autoremove installed binary packages. ${cmd} -y reconfigure all && ${cmd} -Rpyf autoremove 2>&1 >/dev/null