1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #32211 from vieux/stretch_without_lsb

install: map debian_version 9.X to debian stretch without lsb_release
This commit is contained in:
Sebastiaan van Stijn 2017-03-29 20:56:45 +02:00 committed by GitHub
commit bbae982ac8

View file

@ -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"
;;