X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=installers%2Finstall_osm.sh;h=0f5e6bb0e7d8ab8a07f162c17e49807193e87fd3;hb=5e151f026049dbdffd085fb9796a6e53dc64ec94;hp=50c11119bb7f8ac9f7308c7130b79a24a2681566;hpb=1a300b4a195753d37208194b8bd37c2011c725ae;p=osm%2Fdevops.git diff --git a/installers/install_osm.sh b/installers/install_osm.sh index 50c11119..0f5e6bb0 100755 --- a/installers/install_osm.sh +++ b/installers/install_osm.sh @@ -13,9 +13,9 @@ # limitations under the License. # REPOSITORY_BASE=https://osm-download.etsi.org/repository/osm/debian -RELEASE=ReleaseSIX +RELEASE=ReleaseSEVEN REPOSITORY=stable -DOCKER_TAG=6 +DOCKER_TAG=7 function usage(){ echo -e "usage: $0 [OPTIONS]" @@ -90,7 +90,7 @@ add_repo() { return 1 } -while getopts "hr:R:u:t:" o; do +while getopts ":hr:R:u:t:-:" o; do case "${o}" in h) usage && exit 0 @@ -107,6 +107,10 @@ while getopts "hr:R:u:t:" o; do t) OSM_DOCKER_TAG="${OPTARG}" ;; + -) + [ "${OPTARG}" == "help" ] && usage && exit 0 + continue + ;; *) ;; esac