X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=installers%2Finstall_osm.sh;h=72129225cb1665b7d7f241418708a290364d59f1;hb=85bb41a22ea4e604c4e19a08cb63d380fb526e6a;hp=50c11119bb7f8ac9f7308c7130b79a24a2681566;hpb=38d91ee0e1259f68cb024870eeb677a77fa89729;p=osm%2Fdevops.git diff --git a/installers/install_osm.sh b/installers/install_osm.sh index 50c11119..72129225 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 -REPOSITORY=stable -DOCKER_TAG=6 +RELEASE=ReleaseSEVEN-daily +REPOSITORY=testing +DOCKER_TAG=releaseseven 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