mirror of
https://github.com/tuna/tunasync-scripts.git
synced 2025-04-20 04:12:42 +00:00
Update hackage.sh:Hackage uses 01-index.tar.gz now
I'm not sure if this does all the job
This commit is contained in:
parent
954927ee79
commit
ac6fc385f0
@ -49,7 +49,7 @@ function hackage_mirror() {
|
||||
|
||||
echo "Downloading index..."
|
||||
rm index.tar.gz || true
|
||||
wget "${base_url}/packages/index.tar.gz" -O index.tar.gz &> /dev/null
|
||||
wget "${base_url}/01-index.tar.gz" -O index.tar.gz &> /dev/null
|
||||
|
||||
echo "building local package list"
|
||||
local tmp
|
||||
@ -97,7 +97,7 @@ function hackage_mirror() {
|
||||
rm "package/$name"
|
||||
done
|
||||
|
||||
cp index.tar.gz 00-index.tar.gz
|
||||
cp index.tar.gz 01-index.tar.gz
|
||||
}
|
||||
|
||||
function cleanup () {
|
||||
|
Loading…
x
Reference in New Issue
Block a user