Merge "Fix the check of docker installation"

This commit is contained in:
Jenkins 2016-12-06 03:22:13 +00:00 committed by Gerrit Code Review
commit 96dbcead9b

View File

@ -79,7 +79,7 @@ function check_docker {
if is_ubuntu; then
dpkg -s docker-engine > /dev/null 2>&1
else
rpm -q docker-engine > /dev/null 2>&1
rpm -q docker-engine > /dev/null 2>&1 || rpm -q docker > /dev/null 2>&1
fi
}