From 68ef461e3cc846f1e2e6944395e59a3d6ae296ee Mon Sep 17 00:00:00 2001 From: Simon Paillard Date: Sun, 15 Nov 2009 17:13:30 +0100 Subject: websync: default $SITE_FILTER to keep local sponsor changes (images, html) --- bin/websync | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin') diff --git a/bin/websync b/bin/websync index cc3ca8c..0d89f9d 100755 --- a/bin/websync +++ b/bin/websync @@ -174,8 +174,8 @@ EXCLUDE=${EXCLUDE:-"--exclude ${HOSTNAME}"} # world-readable remotely. Always exclude it to avoid errors. EXCLUDE="${EXCLUDE} --exclude .~tmp~/" -# And site specific excludes, by default its the sponsor stuff that should be local to all -SITE_FILTER=${SITE_FILTER:-"--filter=protect_sponsor_img.jpg --filter=protect_sponsor.html"} +# And site specific excludes, by default its the sponsor stuff that should be local to all (except templates) +SITE_FILTER=${SITE_FILTER:-"--include sponsor.deb.* --exclude sponsor_img.* --exclude sponsor.html --exclude sponsor.*.html --filter=protect_sponsor_img.* --filter=protect_sponsor.html --filter=protect_sponsor.*.html"} # Hooks HOOK1=${HOOK1:-""} -- cgit v1.2.3