X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=update-bugdoctxt;h=d5568f58ce23b865bd1c7c95b615ec9c9eafd70c;hb=de3991e803cc6f69d5eee0fbf75daf95b0f9969d;hp=d3bc086c570626ee9c170486d7160f3333a35f54;hpb=e8eacb00ee41d7ab974ba913fff40e5c082b8e1a;p=dak.git diff --git a/update-bugdoctxt b/update-bugdoctxt index d3bc086c..d5568f58 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 BTS pages:$/m)' >.new-$dst if cmp -s .new-$dst $dst ; then rm -f .new-$dst else mv -f .new-$dst $dst fi