diff options
author | Aaron Griffin <aaron@archlinux.org> | 2006-12-28 17:54:35 +0100 |
---|---|---|
committer | Aaron Griffin <aaron@archlinux.org> | 2006-12-28 17:54:35 +0100 |
commit | 2546a35cd5d8671054b8ab99d760824fc5fc7b9d (patch) | |
tree | 3079aebea320203bdb9c0517ea5970dea698e2de /etc/pacman.d/gen-mirrorlist.sh | |
parent | 8eac207eadd36d47159f2f9946ea0e19b450ef4e (diff) | |
download | pacman-2546a35cd5d8671054b8ab99d760824fc5fc7b9d.tar.gz pacman-2546a35cd5d8671054b8ab99d760824fc5fc7b9d.tar.xz |
Configuration changes:
* Added libdownload check in configure.ac
* Added generation for mirrorlists in pacman.d
NOTE: autoconf sucks for things like this, so gen-mirrorlist is required
Dan McGee <dpmcgee@gmail.com>:
* mirrorlist.in file
Roman Kyrylych <roman.kyrylych@gmail.com>:
* ukrainian mirror
Jürgen Hötzel <juergen@hoetzel.info>:
* conditional build for pacman.static
Diffstat (limited to 'etc/pacman.d/gen-mirrorlist.sh')
-rwxr-xr-x | etc/pacman.d/gen-mirrorlist.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/etc/pacman.d/gen-mirrorlist.sh b/etc/pacman.d/gen-mirrorlist.sh new file mode 100755 index 00000000..cbb6362c --- /dev/null +++ b/etc/pacman.d/gen-mirrorlist.sh @@ -0,0 +1,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 |