xbps-src: force creation of busybox links when entering chroot.

This commit is contained in:
Juan RP 2011-11-15 22:08:32 +01:00
parent 268544c8ef
commit 4eb1983376

View file

@ -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()