From 0e90bbfb50ca5eff850b26928ad2de1c9e7d4ac6 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Mon, 18 Oct 2010 18:11:00 +0200 Subject: [PATCH] location selector: support the .de mirror in ./all update -l de --- all | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) 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 -- 2.39.2