Display dialog screen when AUTOINSTALL finished
[grml-debootstrap.git] / grml-debootstrap
index f1b0aff..23efd5b 100755 (executable)
@@ -4,7 +4,7 @@
 # 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: Mon Apr 16 20:31:21 CEST 2007 [mika]
+# Latest change: Mon Apr 16 20:39:13 CEST 2007 [mika]
 ################################################################################
 # http://www.debian.org/releases/stable/i386/index.html.en
 
@@ -387,7 +387,13 @@ done
   echo done > $STAGES/grml-debootstrap
 # }}}
 
-  einfo "Finished execution of $0 - enjoy your Debian system." ; eend 0
+if [ -n "$AUTOINSTALL" ] ; then
+   dialog --title "$0" --msgbox \
+          "Finished execution of ${0}.
+Enjoy your Debian system." 6 60
+else
+   einfo "Finished execution of $0 - enjoy your Debian system." ; eend 0
+fi
 
 ## END OF FILE #################################################################
 # vim: ai tw=100 expandtab foldmethod=marker