xbps-src: remove a pkg thru the chroot handler to fix some bugs in pre/post_remove funcs.
This commit is contained in:
parent
88d2739d94
commit
c912ce0eef
3 changed files with 9 additions and 8 deletions
|
@ -412,7 +412,12 @@ remove)
|
|||
_pkgname=$(basename_cwd)
|
||||
fi
|
||||
setup_tmpl ${_pkgname}
|
||||
remove_pkg
|
||||
if [ -z "$in_chroot" -a -z "$base_chroot" ]; then
|
||||
. $XBPS_SHUTILSDIR/chroot.sh
|
||||
xbps_chroot_handler $target ${_pkgname} $dontrm_builddir
|
||||
else
|
||||
remove_pkg
|
||||
fi
|
||||
;;
|
||||
stow)
|
||||
stow_flag=yes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue