From: Michael Beattie Date: Fri, 31 Aug 2001 08:01:11 +0000 (+0000) Subject: joy-fix (I checked it, it works) X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=84375bc8124e5d559e6d150d6d151a7c709cde41;p=dak.git joy-fix (I checked it, it works) --- diff --git a/update-bugdoctxt b/update-bugdoctxt index d3bc086c..1869e0ff 100755 --- a/update-bugdoctxt +++ b/update-bugdoctxt @@ -13,7 +13,7 @@ convert () { src=$1; dst=$2 rm -f .new-$dst echo Generating $dst from http://www.debian.org/Bugs/$src ... - lynx -nolist -dump $urlbase$src | sed -e 's/^ *$//' | perl -00 -ne 'exit if /Back to the Debian Project homepage/; print unless ($.==1 || /^\s*Other pages:$/m)' >.new-$dst + lynx -nolist -dump $urlbase$src | sed -e 's/^ *$//' | perl -00 -ne 'exit if /Back to the Debian Project homepage/; print unless ($.==1 || $.==2 || $.==3 || /^\s*Other pages:$/m)' >.new-$dst if cmp -s .new-$dst $dst ; then rm -f .new-$dst else mv -f .new-$dst $dst fi