summaryrefslogtreecommitdiff
path: root/bin/websync
diff options
context:
space:
mode:
authorSimon Paillard <spaillard@debian.org>2009-10-12 23:04:47 +0200
committerSimon Paillard <spaillard@debian.org>2009-10-12 23:04:47 +0200
commite9e25bee119210c761df07021a43ff1a6e0a9c0a (patch)
tree409125cdde0d2fdbf5189987da073870e2d425b1 /bin/websync
parent2d2649136d87bb8c196c37e0bb17b81a75cdcaef (diff)
Update the test about debian.org machine in remaining scripts
Diffstat (limited to 'bin/websync')
-rwxr-xr-xbin/websync2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/websync b/bin/websync
index 086ab44..ba5ee5e 100755
--- a/bin/websync
+++ b/bin/websync
@@ -126,7 +126,7 @@ TO=${TO:-"/org/www.debian.org/www"}
PROGRAM=${PROGRAM:-"${NAME}-$(hostname -s)"}
# Where to send mails about mirroring to?
-if [ "x$(hostname -s)x" != "x${MIRRORNAME%%.debian.org}x" ]; then
+if [ "x$(hostname -d)x" != "xdebian.orgx" ]; then
# We are not on a debian.org host
MAILTO=${MAILTO:-"root"}
else