X-Git-Url: https://git.grml.org/?p=grml-debootstrap.git;a=blobdiff_plain;f=grml-debootstrap;h=c90b1b06071237dd95b074455d181dfe827ff0d0;hp=59ee6ddf73c397785428e0aa3fff92b8b7a98190;hb=6fd5cf97f5debb0b0d931612d6bad9f325d30129;hpb=420ac27e61ea1add01319a4f666bd8fb9dc72bd1 diff --git a/grml-debootstrap b/grml-debootstrap index 59ee6dd..c90b1b0 100755 --- a/grml-debootstrap +++ b/grml-debootstrap @@ -765,7 +765,7 @@ preparechroot() { # copy scripts that should be executed inside the chroot: _opt_chroot_scripts=${_opt_chroot_scripts:-$CONFFILES/chroot-scripts/} - [ -f $_opt_chroot_scripts -a "$CHROOT_SCRIPTS" = 'yes' ] && \ + [ -d $_opt_chroot_scripts -a "$CHROOT_SCRIPTS" = 'yes' ] && \ cp -a $VERBOSE $_opt_chroot_scripts $MNTPOINT/etc/debootstrap/ # notice: do NOT use $CHROOT_VARIABLES inside chroot but statically file instead!