update all existing file changes in views (no more --ignore-existing)

This commit is contained in:
Jaromil 2016-02-08 15:47:51 +01:00
parent 66c4da7207
commit bbb124f1f6
1 changed files with 7 additions and 7 deletions

14
render
View File

@ -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.