xbps-src: remove a pkg thru the chroot handler to fix some bugs in pre/post_remove funcs.

This commit is contained in:
Juan RP
2011-06-16 12:21:12 +02:00
parent 88d2739d94
commit c912ce0eef
3 changed files with 9 additions and 8 deletions

View File

@@ -247,7 +247,7 @@ xbps_chroot_handler()
[ "$action" != "configure" -a "$action" != "build" -a \
"$action" != "install" -a "$action" != "chroot" -a \
"$action" != "install-destdir" ] && return 1
"$action" != "install-destdir" -a "$action" != "remove" ] && return 1
if [ ! -f $XBPS_MASTERDIR/.xbps_perms_done ]; then
echo -n "==> Preparing chroot on $XBPS_MASTERDIR... "