X-Git-Url: https://git.grml.org/?p=grml-debootstrap.git;a=blobdiff_plain;f=grml-debootstrap;h=23efd5b749f0817cd806d8b3ec053c3ed2b6e71a;hp=2682e1e0c0270ed5b1d2b10de33368507452f671;hb=854ae66b8bcf6287ed4cb3112423aa5dd73d7268;hpb=85fb3ef27157d4110482553454751e5da33afecd diff --git a/grml-debootstrap b/grml-debootstrap index 2682e1e..23efd5b 100755 --- a/grml-debootstrap +++ b/grml-debootstrap @@ -4,13 +4,13 @@ # Authors: grml-team (grml.org), (c) Michael Prokop # Bug-Reports: see http://grml.org/bugs/ # License: This file is licensed under the GPL v2. -# Latest change: Mon Apr 16 19:10:16 CEST 2007 [mika] +# Latest change: Mon Apr 16 20:39:13 CEST 2007 [mika] ################################################################################ # http://www.debian.org/releases/stable/i386/index.html.en set -e # exit on any error -VERSION='0.8' +VERSION='0.7' # source core functions {{{ . /etc/grml/lsb-functions @@ -161,7 +161,7 @@ chmod 600 /etc/debootstrap/variables # make sure nobody except root can read it [ -n "$GROOT" ] && echo "GROOT=$GROOT" >> /etc/debootstrap/variables [ -n "$TARGET" ] && echo "TARGET=$TARGET" >> /etc/debootstrap/variables [ -n "$MIRROR" ] && echo "MIRROR=$MIRROR" >> /etc/debootstrap/variables -[ -n "$MIRROR" ] && echo "MIRROR=$MIRROR" >> /etc/debootstrap/variables +[ -n "$MIRROR" ] && echo "CHROOTMIRROR=$MIRROR" >> /etc/debootstrap/variables [ -n "$ROOTPASSWORD" ] && echo "ROOTPASSWORD=$ROOTPASSWORD" >> /etc/debootstrap/variables # make sure at least $TARGET is set [the partition for the new system] @@ -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