xbps-src: xbps-bin autoremove must be executed via fakeroot.

This commit is contained in:
Juan RP 2011-06-22 13:22:46 +02:00
parent a461919eea
commit 9163a2e18f

View file

@ -173,6 +173,7 @@ install_pkg()
# #
if [ -n "$XBPS_PREFER_BINPKG_DEPS" -a -z "$doing_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"
${fakeroot_cmd} ${fakeroot_cmd_args} \
${XBPS_BIN_CMD} -Rpyf autoremove ${XBPS_BIN_CMD} -Rpyf autoremove
fi fi
return $? return $?