From 416c56c5eb524416159001cc975e1cb88226d341 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Fri, 7 Aug 2009 18:24:53 +0200 Subject: [PATCH] Make sure /etc exists before generating /etc/grml_live_version --- grml-live | 1 + 1 file changed, 1 insertion(+) diff --git a/grml-live b/grml-live index dc36d24..40f3ceb 100755 --- a/grml-live +++ b/grml-live @@ -448,6 +448,7 @@ else [ -n "$CHROOT_OUTPUT" ] || CHROOT_OUTPUT="$OUTPUT/grml_chroot" # provide inform fai about the ISO we build + [ -d "$CHROOT_OUTPUT/etc/" ] || mkdir -p "$CHROOT_OUTPUT/etc/" echo '# This file has been generated by grml-live.' > "$CHROOT_OUTPUT/etc/grml_live_version" [ -n "$GRML_LIVE_VERSION" ] && echo "GRML_LIVE_VERSION=$GRML_LIVE_VERSION" >> "$CHROOT_OUTPUT/etc/grml_live_version" [ -n "$SUITE" ] && echo "SUITE=$SUITE" >> "$CHROOT_OUTPUT/etc/grml_live_version" -- 2.1.4