# Authors: grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
# Bug-Reports: see http://grml.org/bugs/
# License: This file is licensed under the GPL v2.
-# Latest change: Die Jun 05 14:04:47 CEST 2007 [mika]
+# Latest change: Die Jun 05 14:23:38 CEST 2007 [mika]
################################################################################
# http://www.debian.org/releases/stable/i386/index.html.en
;;
esac
ISODIR=${ISO##file:}
+ISODIR=${ISODIR%%/}
# provide variables to chroot system
touch /etc/debootstrap/variables
eend $?
fi
fi
- if grep -q "$PARTITION" /proc/mounts ; then
+ if grep -q "$MNTPOINT" /proc/mounts ; then
if [ -n "$PARTITION" ] ; then
einfo "Unmount $MNTPOINT"
umount $MNTPOINT