xbps-src: make sure to always remove autodeps in errors.
This commit is contained in:
parent
5f0c96ffe7
commit
543263c70f
1 changed files with 1 additions and 2 deletions
|
@ -60,8 +60,7 @@ autoremove_pkg_dependencies()
|
||||||
# If XBPS_PREFER_BINPKG_DEPS is set, we should remove those
|
# If XBPS_PREFER_BINPKG_DEPS is set, we should remove those
|
||||||
# package dependencies installed by the target package, do it.
|
# package dependencies installed by the target package, do it.
|
||||||
#
|
#
|
||||||
if [ -n "$XBPS_PREFER_BINPKG_DEPS" -a -z "$base_chroot" \
|
if [ -n "$XBPS_PREFER_BINPKG_DEPS" -a -z "$base_chroot" ]; then
|
||||||
-a -z "$INSTALLING_DEPS" ]; then
|
|
||||||
msg_normal "'$pkgname': removing automatically installed dependencies ...\n"
|
msg_normal "'$pkgname': removing automatically installed dependencies ...\n"
|
||||||
# Autoremove installed binary packages.
|
# Autoremove installed binary packages.
|
||||||
${cmd} -y reconfigure all && ${cmd} -Rpyf autoremove 2>&1 >/dev/null
|
${cmd} -y reconfigure all && ${cmd} -Rpyf autoremove 2>&1 >/dev/null
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue