1
0
mirror of https://github.com/moparisthebest/pacman synced 2025-01-11 05:48:09 -05:00
pacman/etc/pacman.d/gen-mirrorlist.sh

13 lines
286 B
Bash
Raw Normal View History

#!/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