* boot-{mipsel,sparc}: Parse website directory index case insensitive so

that both "<a href=" and "<A HREF=" are recognized.
This commit is contained in:
Frans Pop 2007-12-12 00:45:02 +00:00
parent a39f2514a5
commit bd1da0c827
3 changed files with 6 additions and 4 deletions

4
debian/changelog vendored
View File

@ -51,8 +51,10 @@ debian-cd (3.0.4) UNRELEASED; urgency=low
* CONF.sh: add non-invasive option to avoid sourcing CONF.sh twice when
using wrapper scripts.
* CONF.sh: Don't set MAXCDS by default; was probably changed by accident.
* boot-{mipsel,sparc}: Parse website directory index case insensitive so
that both "<a href=" and "<A HREF=" are recognized.
-- Frans Pop <fjp@debian.org> Tue, 11 Dec 2007 22:50:56 +0100
-- Frans Pop <fjp@debian.org> Wed, 12 Dec 2007 01:43:49 +0100
debian-cd (3.0.3) unstable; urgency=low

View File

@ -58,8 +58,8 @@ if [ ! "$DI_WWW_HOME" ];then
else
DI_DIR="."
wget "$DI_WWW_HOME" -O di.dir
r3k=$(sed -n 's/.*a href="\(vmlinux-.*-r3k-kn02\)".*/\1/p' di.dir)
r4k=$(sed -n 's/.*a href="\(vmlinux-.*-r4k-kn04\)".*/\1/p' di.dir)
r3k=$(sed -n 's/.*a href="\(vmlinux-.*-r3k-kn02\)".*/\1/ip' di.dir)
r4k=$(sed -n 's/.*a href="\(vmlinux-.*-r4k-kn04\)".*/\1/ip' di.dir)
wget "$DI_WWW_HOME/$r3k" -O vmlinux-x-r3k-kn02
wget "$DI_WWW_HOME/$r4k" -O vmlinux-x-r4k-kn04
wget "$DI_WWW_HOME/initrd.gz"

View File

@ -63,7 +63,7 @@ else
DI_DIR="cdrom"
mkdir "./$DI_DIR"
wget "$DI_WWW_HOME" -O ./$DI_DIR/di.dir
sparc64=$(sed -n 's/.*a href="\(vmlinuz-.*-sparc64\)".*/\1/p' ./$DI_DIR/di.dir)
sparc64=$(sed -n 's/.*a href="\(vmlinuz-.*-sparc64\)".*/\1/ip' ./$DI_DIR/di.dir)
wget "$DI_WWW_HOME/$sparc64" -O ./$DI_DIR/vmlinuz-x-sparc64
wget "$DI_WWW_HOME/initrd.gz" -O ./$DI_DIR/initrd.gz
fi