summaryrefslogtreecommitdiffstats
path: root/bin/webcheck_url.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2012-11-12 01:07:03 +0100
committerHolger Levsen <holger@layer-acht.org>2012-11-12 01:07:03 +0100
commitab984a691078d743efd96cdc8202b02b220d2b34 (patch)
tree6451480d2360183a7f526a6167f5f62f9bdc8c39 /bin/webcheck_url.sh
parent1d61b38eb290c7b7940bf0553ea3aff030af6ac1 (diff)
downloadjenkins.debian.net-ab984a691078d743efd96cdc8202b02b220d2b34.tar.xz
more patterns
Diffstat (limited to 'bin/webcheck_url.sh')
-rwxr-xr-xbin/webcheck_url.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/webcheck_url.sh b/bin/webcheck_url.sh
index 0ed05611..f93c3622 100755
--- a/bin/webcheck_url.sh
+++ b/bin/webcheck_url.sh
@@ -44,9 +44,10 @@ fi
#
if [ "${URL:0:21}" = "http://www.debian.org" ] ; then
TRANSLATIONS=$(curl www.debian.org 2>/dev/null|grep index|grep lang=|cut -d "." -f2)
- for LANG in $TRANSLATIONS ; do
- PARAMS="$PARAMS -y \.${LANG}\.html -y html\.${LANG}"
+ for LANG in $TRANSLATIONS pt_BR zh_CN zh_HK zh_TW ; do
+ PARAMS="$PARAMS -y \.${LANG}\.html -y html\.${LANG} -y \.${LANG}\.txt -y \${LANG}\.pdf"
done
+
fi
#