xbps-src: only autoremove pkgs if not installing builddeps.
This commit is contained in:
parent
dcd8d8bd70
commit
279bda852a
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue