From 54057c884b981531d50072bbdc4df9c62996f22b Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Mon, 12 Nov 2012 01:12:51 +0100 Subject: more patterns --- bin/webcheck_url.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'bin') diff --git a/bin/webcheck_url.sh b/bin/webcheck_url.sh index f93c3622..f8cdfdad 100755 --- a/bin/webcheck_url.sh +++ b/bin/webcheck_url.sh @@ -45,9 +45,8 @@ 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 pt_BR zh_CN zh_HK zh_TW ; do - PARAMS="$PARAMS -y \.${LANG}\.html -y html\.${LANG} -y \.${LANG}\.txt -y \${LANG}\.pdf" + PARAMS="$PARAMS -y \.${LANG}\.html -y html\.${LANG} -y \.${LANG}\.txt -y \.txt\.${LANG} -y \.${LANG}\.pdf -y \.pdf\.${LANG}" done - fi # -- cgit v1.2.3-70-g09d2