mirror of https://github.com/dyne/webnomad.git
update all existing file changes in views (no more --ignore-existing)
This commit is contained in:
parent
66c4da7207
commit
bbb124f1f6
14
render
14
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.
|
||||
|
|
|
|||
Loading…
Reference in New Issue