From: Michael Prokop Date: Sat, 12 Sep 2009 00:47:51 +0000 (+0200) Subject: Display Forcing rebuild message only if ISO does not exist yet X-Git-Tag: v0.9.23~29 X-Git-Url: https://git.grml.org/?p=grml-live.git;a=commitdiff_plain;h=5ec7502a0bd7645aa3cb4a1aa54c17ecd071294d Display Forcing rebuild message only if ISO does not exist yet --- 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