import repository from arizona
[raven.git] / apps / importyum / downloadfl.sh
1 #!/bin/bash
2
3 name=$1_fl
4 baseurl=$2
5 xmldir=$3
6
7 url=$baseurl
8 wget $url/repodata/filelists.xml.gz -O $xmldir/$name.xml.gz
9 if [ -e $xmldir/$name.xml ]; then
10   rm $xmldir/$name.xml
11 fi
12 gzip -d $xmldir/$name.xml.gz
13