summaryrefslogtreecommitdiff
path: root/commitpkg.in
diff options
context:
space:
mode:
Diffstat (limited to 'commitpkg.in')
-rw-r--r--commitpkg.in10
1 files changed, 9 insertions, 1 deletions
diff --git a/commitpkg.in b/commitpkg.in
index 4d13cf8..e31838c 100644
--- a/commitpkg.in
+++ b/commitpkg.in
@@ -105,7 +105,15 @@ for _arch in ${arch[@]}; do
done
if [[ -z $server ]]; then
- server='nymeria.archlinux.org'
+ case "$repo" in
+ core|extra|testing|staging|kde-unstable|gnome-unstable)
+ server='gerolde.archlinux.org' ;;
+ community*|multilib*)
+ server='nymeria.archlinux.org' ;;
+ *)
+ server='gerolde.archlinux.org'
+ msg "Non-standard repository $repo in use, defaulting to server $server" ;;
+ esac
fi
if [[ -n $(svn status -q) ]]; then