diff --git a/featlib/docker.sh b/featlib/docker.sh index deefb0d..2aa965b 100755 --- a/featlib/docker.sh +++ b/featlib/docker.sh @@ -5,7 +5,7 @@ function feat_addpacks_docker() { if ! feat_missing "apt-get"; then sudo apt-get remove docker docker-engine docker.io containerd runc sudo apt-get update - if [ $(apt-cache search docker-ce | grep -o "^docker-ce ") != "docker-ce" ]; then + if [ "$(apt-cache search docker-ce | grep -o "^docker-ce ")" != "docker-ce" ]; then sudo apt-get install \ apt-transport-https \ ca-certificates \