Use Rust indexer for Ubuntu + script cleanup

This commit is contained in:
Yorhel 2016-11-20 15:01:22 +01:00
parent 2ee2f7495b
commit 46a6e2ff7c
6 changed files with 188 additions and 405 deletions

View file

@ -2,12 +2,12 @@
. ./common.sh
MIRROR=http://ftp.nluug.nl/pub/os/Linux/distr/archlinux
case "$1" in
active)
MIRROR=http://ftp.nluug.nl/pub/os/Linux/distr/archlinux
REPOS="core extra community"
for REPO in $REPOS; do
index arch --sys arch --mirror $MIRROR --repo $REPO
done
;;
current)
index arch --sys arch --mirror $MIRROR --repo core
index arch --sys arch --mirror $MIRROR --repo extra
index arch --sys arch --mirror $MIRROR --repo community
;;
esac