X-Git-Url: https://git.grml.org/?p=grml-debootstrap.git;a=blobdiff_plain;f=grml-debootstrap;h=0d2efbb1f2f8f68aa469c679618ed73f48ea25e3;hp=64b46d5373eadc24c4551ebae4b64501919efcba;hb=87394f3ff5c561c572d786c96c4231503ccfb2f2;hpb=de48058f771e436855779976bde15a25dd3b4582 diff --git a/grml-debootstrap b/grml-debootstrap index 64b46d5..0d2efbb 100755 --- a/grml-debootstrap +++ b/grml-debootstrap @@ -779,7 +779,7 @@ preparechroot() { cp $VERBOSE $CONFFILES/chroot-script $MNTPOINT/bin/chroot-script chmod 755 $MNTPOINT/bin/chroot-script - mkdir $MNTPOINT/etc/debootstrap/ + [ -d "$MNTPOINT"/etc/debootstrap/ ] || mkdir "$MNTPOINT"/etc/debootstrap/ # make sure we have our files for later use via chroot-script cp $VERBOSE $CONFFILES/config $MNTPOINT/etc/debootstrap/