xbps-src: only autoremove pkgs if not installing builddeps.
This commit is contained in:
parent
dcd8d8bd70
commit
279bda852a
@ -171,7 +171,7 @@ install_pkg()
|
|||||||
# 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" ]; then
|
if [ -n "$XBPS_PREFER_BINPKG_DEPS" -a -z "$doing_deps" ]; then
|
||||||
msg_normal "Removing binary package dependencies...\n"
|
msg_normal "Removing binary package dependencies...\n"
|
||||||
${XBPS_BIN_CMD} -Rpyf autoremove
|
${XBPS_BIN_CMD} -Rpyf autoremove
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user