From 2546a35cd5d8671054b8ab99d760824fc5fc7b9d Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Thu, 28 Dec 2006 16:54:35 +0000 Subject: 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 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Dan McGee : * mirrorlist.in file Roman Kyrylych : * ukrainian mirror Jürgen Hötzel : * conditional build for pacman.static --- etc/pacman.d/gen-mirrorlist.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 etc/pacman.d/gen-mirrorlist.sh (limited to 'etc/pacman.d/gen-mirrorlist.sh') 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 -- cgit v1.2.3