Replace old Arch Linux scripts with new indexer

This commit is contained in:
Yorhel 2016-11-06 15:26:20 +01:00
parent 1ca43665a1
commit 5e39af459f
5 changed files with 33 additions and 79 deletions

22
util/index.sh Executable file
View file

@ -0,0 +1,22 @@
if test -f .config; then
source .config
fi
INDEX="./indexer -vv"
set -x
arch() {
local MIRROR=http://ftp.nluug.nl/pub/os/Linux/distr/archlinux
local REPOS="core extra community"
for REPO in $REPOS; do
$INDEX arch --sys arch --mirror $MIRROR --repo $REPO
done
}
daily() {
arch
}
$@