summaryrefslogtreecommitdiff
path: root/bin/websync
diff options
context:
space:
mode:
authorSimon Paillard <spaillard@debian.org>2009-11-15 17:13:30 +0100
committerSimon Paillard <spaillard@debian.org>2009-11-15 17:13:30 +0100
commit68ef461e3cc846f1e2e6944395e59a3d6ae296ee (patch)
tree8bbde9b9d086b34ea8680dc7290fe9a1f84200cf /bin/websync
parent1b9688dbba140cb4722ac34273eba0dc99ad79ce (diff)
websync: default $SITE_FILTER to keep local sponsor changes (images, html)
Diffstat (limited to 'bin/websync')
-rwxr-xr-xbin/websync4
1 files changed, 2 insertions, 2 deletions
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:-""}