Replace old Arch Linux scripts with new indexer
This commit is contained in:
parent
1ca43665a1
commit
5e39af459f
5 changed files with 33 additions and 79 deletions
22
util/index.sh
Executable file
22
util/index.sh
Executable 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
|
||||
}
|
||||
|
||||
$@
|
||||
Loading…
Add table
Add a link
Reference in a new issue