aggiunte delle virgolette di sicurezza intorno a $

This commit is contained in:
Guido Longoni
2020-01-22 11:18:43 +01:00
parent e455da82a6
commit 874fac02f9
+1 -1
View File
@@ -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 \