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
1 changed files with 2 additions and 1 deletions

View File

@ -173,7 +173,8 @@ install_pkg()
#
if [ -n "$XBPS_PREFER_BINPKG_DEPS" -a -z "$doing_deps" ]; then
msg_normal "Removing binary package dependencies...\n"
${XBPS_BIN_CMD} -Rpyf autoremove
${fakeroot_cmd} ${fakeroot_cmd_args} \
${XBPS_BIN_CMD} -Rpyf autoremove
fi
return $?
}