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:
commit
b0f652fc38
1 changed files with 1 additions and 1 deletions
|
@ -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/\..*//')"
|
||||
|
|
Loading…
Reference in a new issue