summaryrefslogtreecommitdiffstats
path: root/etc/pacman.d/gen-mirrorlist.sh
blob: cbb6362caed794925365bd189a6bbb1c85415058 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash
# gen-mirrorlist.sh
# There's absolutely no way to make autoconf do this, so instead, autoconf will
# call this script - simple enough.


REPOS="current extra unstable release community"

for i in $REPOS; do
    rm -f $i
    cat mirrorlist | sed "s|@@REPO@@|$i|g" > $i
done