diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2015-08-26 03:41:50 -0300 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2015-08-26 03:41:50 -0300 |
commit | bf43cbddbccc51a1147eb37cd7a64762bde4f506 (patch) | |
tree | 3bfc609c9385b00ec9a3fdbfb79de1620c3f99db /extra/lukeshu-xbs/db-import.conf | |
parent | 50d2db5c271537d78ea0037fe285d081df38fa02 (diff) |
add copy from the lukeshu/xbs repo
Diffstat (limited to 'extra/lukeshu-xbs/db-import.conf')
-rw-r--r-- | extra/lukeshu-xbs/db-import.conf | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/extra/lukeshu-xbs/db-import.conf b/extra/lukeshu-xbs/db-import.conf new file mode 100644 index 0000000..aaf7b0f --- /dev/null +++ b/extra/lukeshu-xbs/db-import.conf @@ -0,0 +1,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 |