Notice: the grml team is migrating from Mercurial to Git.
Please visit git.grml.org instead!
| author | Michael Prokop <mika@grml.org> |
| Mon Apr 16 13:18:04 2007 +0200 (19 months ago) | |
| changeset 112 | b705de863fdc |
| manifest | b705de863fdc |
| parent 111 | efb48b513e67 |
| child 113 | 29df44e7555d |
--- a/grml-debootstrap Mon Apr 16 13:12:41 2007 +0200+++ b/grml-debootstrap Mon Apr 16 13:18:04 2007 +0200@@ -232,9 +232,17 @@ preparechroot() {# execute chroot-script {{{chrootscript() {- einfo "Executing chroot-script now"- chroot "$MNTPOINT" /bin/chroot-script- eend $?+ if ! [ -r "$MNTPOINT/bin/chroot-script" ] ; then+ mount_target+ fi+ if [ -x "$MNTPOINT/bin/chroot-script" ] ; then+ einfo "Executing chroot-script now"+ chroot "$MNTPOINT" /bin/chroot-script+ eend $?+ else+ eerror "Fatal: $MNTPOINT/bin/chroot-script could not be found."+ eend 1+ fi}# }}}