3 if test ! -f archive
/archive.
tar; then
5 wget http
://hackage.haskell.org
/cgi-bin
/hackage-scripts
/archive.
tar
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
16 mv 00-index.
tar.gz archive
/
17 tar -C archive
-xzf archive
/00-index.
tar.gz