X-Git-Url: https://git.grml.org/?p=grml-debootstrap.git;a=blobdiff_plain;f=grml-debootstrap;h=946b5be190966b95c3e10b1c56a4d150b0470966;hp=b59784f1c302a834dece2e80444db27b9c9a4e4d;hb=21ea6452ed23678e98d6da15cdffc84446c8cde1;hpb=d7a46c09d601e1993dc8a383da309c3fa0775ba6 diff --git a/grml-debootstrap b/grml-debootstrap index b59784f..946b5be 100755 --- a/grml-debootstrap +++ b/grml-debootstrap @@ -946,8 +946,14 @@ grub_install() { } # }}} -# unmount $MNTPOINRT {{{ +# unmount $MNTPOINT {{{ umount_chroot() { + + # display installation notes: + if [ -n "$INSTALL_NOTES" ] ; then + [ -r "${MNTPOINT}/${INSTALL_NOTES}" ] && cat "${MNTPOINT}/${INSTALL_NOTES}" + fi + if [ -n "$ISODIR" ] ; then if grep -q "$ISODIR" /proc/mounts ; then einfo "Unmount $MNTPOINT/$ISODIR" @@ -997,12 +1003,6 @@ if echo "$MNTPOINT" | grep -q '/mnt/debootstrap\.' ; then fi # }}} -# display installation notes {{{ -if [ -n "$INSTALL_NOTES" ] ; then - [ -r "$INSTALL_NOTES" ] && cat "$INSTALL_NOTES" -fi -# }}} - # end dialog of autoinstallation {{{ if [ -n "$AUTOINSTALL" ] ; then dialog --title "$PN" --msgbox \