update jinja2 per CVE-2024-34064
[cabal.git] / Cabal-tests / tests / hackage / download.sh
blobaf9d34837aab0b45a4edd0b9285ef05cdb9f8ab7
1 #!/bin/sh
3 if test ! -f archive/archive.tar; then
5 wget http://hackage.haskell.org/cgi-bin/hackage-scripts/archive.tar
6 mkdir -p archive
7 mv archive.tar archive/
8 tar -C archive -xf archive/archive.tar
12 if test ! -f archive/00-index.tar.gz; then
14 wget http://hackage.haskell.org/packages/archive/00-index.tar.gz
15 mkdir -p archive
16 mv 00-index.tar.gz archive/
17 tar -C archive -xzf archive/00-index.tar.gz