From bbb124f1f69fb873f244f8d202a8aa3d2fb43f7a Mon Sep 17 00:00:00 2001 From: Jaromil Date: Mon, 8 Feb 2016 15:47:51 +0100 Subject: [PATCH] update all existing file changes in views (no more --ignore-existing) --- render | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/render b/render index 8e70c12..34da1cb 100755 --- a/render +++ b/render @@ -413,6 +413,13 @@ mkdir -p "$destination/img" +# copy to destination all subdirs in views/ +act -n "publishing all $B views $r ... " +rsync -a -W "$DIR/views/" "${destination}/" +# make sure that new css styles are updated +[[ -r "$DIR/views/css/custom.css" ]] && { + cp -f "$DIR/views/css/custom.css" "${destination}/css/" } + # prepare all fonts @@ -549,13 +556,6 @@ idxs+=(`find views -type f -name '*.index'`) done } -# copy to destination all subdirs in views/ -act -n "publishing all $B views $r ... " -rsync -a -W --ignore-existing "$DIR/views/" "${destination}/" -# make sure that new css styles are updated -[[ -r "$DIR/views/css/custom.css" ]] && { - cp -f "$DIR/views/css/custom.css" "${destination}/css/" } - # Here all files are copied inside the destination # we can run special operations on file-types and overwrite them now # for instance edit EXIF information on images etc.