File tree Expand file tree Collapse file tree 2 files changed +2
-11
lines changed
Expand file tree Collapse file tree 2 files changed +2
-11
lines changed Original file line number Diff line number Diff line change @@ -88,8 +88,6 @@ VERSION="${VERSION#v}"
8888# The channel to install from:
8989# * stable
9090# * test
91- # * edge (deprecated)
92- # * nightly (deprecated)
9391DEFAULT_CHANNEL_VALUE=" stable"
9492if [ -z " $CHANNEL " ]; then
9593 CHANNEL=$DEFAULT_CHANNEL_VALUE
@@ -149,10 +147,6 @@ esac
149147case " $CHANNEL " in
150148 stable|test)
151149 ;;
152- edge|nightly)
153- >&2 echo " DEPRECATED: the $CHANNEL channel has been deprecated and is no longer supported by this script."
154- exit 1
155- ;;
156150 * )
157151 >&2 echo " unknown CHANNEL '$CHANNEL ': use either stable or test."
158152 exit 1
Original file line number Diff line number Diff line change @@ -26,7 +26,6 @@ STABLE_LATEST="27.0.3"
2626# The channel to install from:
2727# * test
2828# * stable
29- # * nightly (deprecated)
3029DEFAULT_CHANNEL_VALUE=" stable"
3130if [ -z " $CHANNEL " ]; then
3231 CHANNEL=$DEFAULT_CHANNEL_VALUE
@@ -48,11 +47,9 @@ case "$CHANNEL" in
4847 STATIC_RELEASE_URL=" https://download.docker.com/linux/static/$CHANNEL /$( uname -m) /docker-${TEST_LATEST} .tgz"
4948 STATIC_RELEASE_ROOTLESS_URL=" https://download.docker.com/linux/static/$CHANNEL /$( uname -m) /docker-rootless-extras-${TEST_LATEST} .tgz"
5049 ;;
51- " nightly" )
52- >&2 echo " DEPRECATED: the nightly channel has been deprecated and is no longer supported by this script." ; exit 1
53- ;;
5450 * )
55- >&2 echo " Aborting because of unknown CHANNEL \" $CHANNEL \" . Set \$ CHANNEL to either \" stable\" or \" test\" ." ; exit 1
51+ >&2 echo " Aborting because of unknown CHANNEL \" $CHANNEL \" . Set \$ CHANNEL to either \" stable\" or \" test\" ."
52+ exit 1
5653 ;;
5754esac
5855
You can’t perform that action at this time.
0 commit comments