summaryrefslogtreecommitdiff
path: root/hack
diff options
context:
space:
mode:
authorVictor Vieux <victorvieux@gmail.com>2017-03-29 11:36:34 -0700
committerVictor Vieux <victorvieux@gmail.com>2017-03-29 11:36:34 -0700
commitf8360d002d6e54e923d817bda5409835829119fc (patch)
treeb6583382dd2a3bb61d040759c525d38054f6853b /hack
parentbce494f7a2ce0e1a2c6563b2e32e5a8bacb128ba (diff)
downloaddocker-f8360d002d6e54e923d817bda5409835829119fc.tar.gz
install: map debian_version 9.X to debian stretch without lsb_release
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
Diffstat (limited to 'hack')
-rw-r--r--hack/install.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/hack/install.sh b/hack/install.sh
index f7c6a0b0a7..38920507f9 100644
--- a/hack/install.sh
+++ b/hack/install.sh
@@ -366,6 +366,9 @@ do_install() {
debian|raspbian)
dist_version="$(cat /etc/debian_version | sed 's/\/.*//' | sed 's/\..*//')"
case "$dist_version" in
+ 9)
+ dist_version="stretch"
+ ;;
8)
dist_version="jessie"
;;