mirror of
https://github.com/moparisthebest/pacman
synced 2024-11-14 05:15:11 -05:00
2546a35cd5
* 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
13 lines
286 B
Bash
Executable File
13 lines
286 B
Bash
Executable File
#!/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
|