calculation problem when installing to /dev/cciss/c0d0*. Thanks!
* Use ls for locating /dev/md* devices instead of echo so we don't
have '/dev/md*' in the interactive partition dialog.
+ * Do not display mountpoint if we are using the default one.
- -- Michael Prokop <mika@grml.org> Wed, 08 Jul 2009 02:38:45 +0200
+ -- Michael Prokop <mika@grml.org> Wed, 08 Jul 2009 22:33:29 +0200
grml-debootstrap (0.28) unstable; urgency=low
einfo "$PN - Please recheck configuration before execution:"
echo
echo " Target: $TARGET"
- case "$MNTPOINT" in "$TARGET") ;; *) echo " Mount point: $MNTPOINT" ;; esac
- [ -n "$GRUB" ] && echo " Install grub: $GRUB" || echo " Install grub: no"
- [ -n "$RELEASE" ] && echo " Using release: $RELEASE"
- [ -n "$MIRROR" ] && echo " Using mirror: $MIRROR"
- [ -n "$HOSTNAME" ] && echo " Using hostname: $HOSTNAME"
- [ -n "$ISO" ] && echo " Using ISO: $ISO"
- case "$MNTPOINT" in "$TARGET") ;; *) echo " Important! Continuing will delete all data from ${TARGET}!" ;; esac
- echo
+
+ # do not display if MNTPOINT is the default one
+ case "$MNTPOINT" in /mnt/debootstrap*) ;; *) echo " Mount point: $MNTPOINT" ;; esac
+
+ [ -n "$GRUB" ] && echo " Install grub: $GRUB" || echo " Install grub: no"
+ [ -n "$RELEASE" ] && echo " Using release: $RELEASE"
+ [ -n "$MIRROR" ] && echo " Using mirror: $MIRROR"
+ [ -n "$HOSTNAME" ] && echo " Using hostname: $HOSTNAME"
+ [ -n "$ISO" ] && echo " Using ISO: $ISO"
+
+ echo " Important! Continuing will delete all data from ${TARGET}!"
+
+ echo
einfon "Is this ok for you? [y/N] "
read a
if ! [ "$a" = 'y' -o "$a" = 'Y' ] ; then