From 2f89c98ea59490312dd6bd7e91fb3e58592a3980 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Mon, 12 Nov 2012 10:35:34 +0100 Subject: ignore all installation manuals --- bin/webcheck_url.sh | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'bin') diff --git a/bin/webcheck_url.sh b/bin/webcheck_url.sh index fee02ba1..1c31f2d0 100755 --- a/bin/webcheck_url.sh +++ b/bin/webcheck_url.sh @@ -51,6 +51,36 @@ if [ "${URL:0:21}" = "http://www.debian.org" ] ; then done fi +# +# ignore some extra patterns (=the installation manual for all releases and all archs) when checking www.debian.org +# +if [ "${URL:0:21}" = "http://www.debian.org" ] && [ "${URL: -1}" != "/" ] ; then + RELEASES="slink potato woody sarge etch lenny squeeze wheezy stable" + SLINK="i386 m68k alpha sparc" + POTATO="$SLINK powerpc arm" + WOODY="$POTATO hppa ia64 mips mipsel s390" + SARGE=$WOODY + ETCH="$SARGE amd64" + LENNY="$ETCH armel" + SQUEEZE="amd64 i386 alpha sparc powerpc hppa ia64 mips mipsel s390 kfreebsd-amd64 kfreebsd-i386" + STABLE=$SQUEEZE + WHEEZY=$SQUEEZE + #JESSIE=$WHEEZY # also needs to be added to RELEASES above + for RELEASE in $RELEASES ; do + RELEASEVAR=$(echo $RELEASE | tr "[:lower:]" "[:upper:]") + for ARCH in ${!RELEASEVAR} ; do + PARAMS="$PARAMS -y www\.debian\.org/releases/$RELEASE/$ARCH/" + done + done + # + # Remind, that this needs to be updated manually + # + if [ $(date +%Y) -gt 2013 ] ; then + echo "next Warning: It's not 2013 anymore, check which architectures Jessie has for real." + fi +fi + + # # $PATTERNS can only be used to ignore patterns atm # -- cgit v1.2.3-54-g00ecf