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

Merge pull request #18648 from jfrazelle/fix-install-script-trusty

fix install script for ubuntu trusty
This commit is contained in:
David Calavera 2015-12-15 12:55:01 -08:00
commit b0f652fc38

View file

@ -78,7 +78,7 @@ check_forked() {
Upstream release is '$lsb_dist' version '$dist_version'.
EOF
else
if [ -r /etc/debian_version ]; then
if [ -r /etc/debian_version ] && [ "$lsb_dist" != "ubuntu" ]; then
# We're Debian and don't even know it!
lsb_dist=debian
dist_version="$(cat /etc/debian_version | sed 's/\/.*//' | sed 's/\..*//')"