From 5ec7502a0bd7645aa3cb4a1aa54c17ecd071294d Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Sat, 12 Sep 2009 02:47:51 +0200 Subject: [PATCH] Display Forcing rebuild message only if ISO does not exist yet --- grml-live | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grml-live b/grml-live index 0a8fb3a..a32f9ad 100755 --- a/grml-live +++ b/grml-live @@ -993,7 +993,7 @@ elif [ -n "$SKIP_MKISOFS" ] ; then else mkdir -p "$ISO_OUTPUT" || bailout 6 "Problem with creating $ISO_OUTPUT for stage 'iso build'" - if $FORCE_ISO_REBUILD ; then + if $FORCE_ISO_REBUILD && ! -f "${ISO_OUTPUT}/${ISO_NAME}"; then log "Forcing rebuild of ISO because files on ISO have been modified." einfo "Forcing rebuild of ISO because files on ISO have been modified." fi -- 2.1.4