diff --git a/common/xbps-src/shutils/chroot.sh b/common/xbps-src/shutils/chroot.sh index 720097cfb4..a25f7f5a96 100644 --- a/common/xbps-src/shutils/chroot.sh +++ b/common/xbps-src/shutils/chroot.sh @@ -169,8 +169,8 @@ chroot_handler() { fi if [ ! -d $XBPS_MASTERDIR/xbps-packages ]; then mkdir -p $XBPS_MASTERDIR/xbps-packages - ln -s xbps-packages $XBPS_MASTERDIR/void-packages fi + ln -sf xbps-packages $XBPS_MASTERDIR/void-packages _chargs+=" -D ${XBPS_DISTDIR}" [ -z "$action" -a -z "$pkg" ] && return 1