Use Rust indexer for Ubuntu + script cleanup
This commit is contained in:
parent
2ee2f7495b
commit
46a6e2ff7c
6 changed files with 188 additions and 405 deletions
14
util/arch.sh
14
util/arch.sh
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue