location selector: support the .de mirror in ./all update -l de

This commit is contained in:
Rudolf Polzer 2010-10-18 18:11:00 +02:00
parent d073d4ec85
commit 0e90bbfb50

10
all
View File

@ -428,12 +428,14 @@ case "$cmd" in
elif [ x"$1" = x"-l" ]; then elif [ x"$1" = x"-l" ]; then
case "$2" in case "$2" in
nl) ;; nl) ;;
# de) ;; de) ;;
default) ;;
*) *)
msg "Invalid location!" msg "Invalid location!"
msg "Possible locations for the -l option:" msg "Possible locations for the -l option:"
msg " nl (Netherlands, run by merlijn)" msg " nl (Netherlands, run by merlijn)"
#msg " de (Germany, run by divVerent)" msg " de (Germany, run by divVerent)"
msg " default (currently nl)"
exit 1 exit 1
;; ;;
esac esac
@ -446,7 +448,7 @@ case "$cmd" in
shift shift
done done
case "$location" in case "$location" in
main|nl) default)
location= location=
;; ;;
current) current)
@ -1715,6 +1717,6 @@ case "$cmd" in
echo " $SELF run [sdl|glx|wgl|agl|dedicated] options..." echo " $SELF run [sdl|glx|wgl|agl|dedicated] options..."
echo " $SELF save-patches" echo " $SELF save-patches"
echo " $SELF update-maps" 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 esac