diff --git a/xbps-src/shutils/chroot.sh.in b/xbps-src/shutils/chroot.sh.in index a57e637315..1731b90b3e 100644 --- a/xbps-src/shutils/chroot.sh.in +++ b/xbps-src/shutils/chroot.sh.in @@ -250,8 +250,6 @@ create_busybox_links() { local lbindir=$XBPS_MASTERDIR/usr/local/bin - [ -f $XBPS_MASTERDIR/.busybox_done ] && return 0 - [ ! -d ${lbindir} ] && mkdir -p ${lbindir} # Create other symlinks in /usr/local/bin @@ -261,10 +259,8 @@ create_busybox_links() if [ "$f" = "tar" -o "$f" = "sh" -o "$f" = "xz" ]; then continue fi - ln -s ../../../bin/busybox $f + ln -sf ../../../bin/busybox $f done - - touch -f $XBPS_MASTERDIR/.busybox_done } install_xbps_utils()