summaryrefslogtreecommitdiff
path: root/extra/lukeshu-xbs/db-import.conf
blob: aaf7b0fe9d16bb7f6a006fd09ca2d17a596dfb03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/hint/bash

IMPORTDIR=/srv/repo/import

case "$USER" in
	db-import-packages)
		_archrepos=(
			{core,extra,testing,staging}-{i686,x86_64}
			{gnome,kde}-unstable-{i686,x86_64}
		);;
	db-import-community)
		_archrepos=(
			community{,-testing,-staging}-{i686,x86_64}
			multilib{,-testing,-staging}-x86_64
		);;
esac

_archpkgmirror=$(db-pick-mirror rsync https://www.archlinux.org/mirrors/status/tier/1/json/)

# name pkgmirror absmirror repo-arch...
IMPORTS=("archlinux ${_archpkgmirror} rsync.archlinux.org ${_archrepos[*]}")

unset _archrepos _archpkgmirror