From: Rudolf Polzer Date: Mon, 18 Oct 2010 16:11:00 +0000 (+0200) Subject: location selector: support the .de mirror in ./all update -l de X-Git-Tag: xonotic-v0.1.0preview~125^2~4 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=0e90bbfb50ca5eff850b26928ad2de1c9e7d4ac6;p=xonotic%2Fxonotic.git location selector: support the .de mirror in ./all update -l de --- diff --git a/all b/all index 42aaffb9..f74df017 100755 --- a/all +++ b/all @@ -428,12 +428,14 @@ case "$cmd" in elif [ x"$1" = x"-l" ]; then case "$2" in nl) ;; - # de) ;; + de) ;; + default) ;; *) msg "Invalid location!" msg "Possible locations for the -l option:" msg " nl (Netherlands, run by merlijn)" - #msg " de (Germany, run by divVerent)" + msg " de (Germany, run by divVerent)" + msg " default (currently nl)" exit 1 ;; esac @@ -446,7 +448,7 @@ case "$cmd" in shift done case "$location" in - main|nl) + default) location= ;; current) @@ -1715,6 +1717,6 @@ case "$cmd" in echo " $SELF run [sdl|glx|wgl|agl|dedicated] options..." echo " $SELF save-patches" echo " $SELF update-maps" - echo " $SELF update|pull [-N] [-s | -h [-p] | -g [-p]] [-l country]" + echo " $SELF update|pull [-N] [-s | -h [-p] | -g [-p]] [-l de|nl|default]" ;; esac