# variables {{{
PN="$(basename $0)"
-VERSION='0.34'
+VERSION='0.35'
MNTPOINT="/mnt/debootstrap.$$"
# inside the chroot system locales might not be available, so use minimum:
# }}}
# finalize {{{
+if [ -n "$ISODIR" ] ; then
+ einfo "Unmounting Debian image loopback from $MNTPOINT/$ISODIR."
+ umount "$MNTPOINT/$ISODIR"
+ eend $?
+fi
+
einfo "Removing ${CHROOT_VARIABLES}" ; rm "$CHROOT_VARIABLES" ; eend $?
einfo "Removing ${STAGES}" ; rmdir "$STAGES" ; eend $?