xbps-src-chroot-helper.sh: remove leftover code.

This commit is contained in:
Juan RP 2011-02-11 14:20:47 +01:00
parent 85543cd319
commit 369cb372c0

View file

@ -75,10 +75,6 @@ umount_chroot_fs()
{ {
local fs dir cnt local fs dir cnt
if [ -f ${XBPS_MASTERDIR}/.xbps_chroot_working ]; then
return 0
fi
for fs in ${REQFS}; do for fs in ${REQFS}; do
[ ! -f ${XBPS_MASTERDIR}/.${fs}_mount_bind_done ] && continue [ ! -f ${XBPS_MASTERDIR}/.${fs}_mount_bind_done ] && continue
cnt=$(cat ${XBPS_MASTERDIR}/.${fs}_mount_bind_done) cnt=$(cat ${XBPS_MASTERDIR}/.${fs}_mount_bind_done)