From f90f6a0b9248489c43188ca79b9e0dfc306fd8dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Petazzoni?= Date: Mon, 11 Mar 2013 23:13:08 -0700 Subject: [PATCH] Get rid of bashism --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 4e592e5dcf..f8dca17476 100644 --- a/install.sh +++ b/install.sh @@ -1,5 +1,5 @@ #!/bin/sh -# This script is meant for quick & easy install via 'curl URL-OF-SCRIPT | bash' +# This script is meant for quick & easy install via 'curl URL-OF-SCRIPT | sh' # Courtesy of Jeff Lindsay echo "Ensuring basic dependencies are installed..." @@ -36,7 +36,7 @@ curl -s http://get.docker.io/builds/$(uname -s)/$(uname -m)/docker-master.tgz | tar -C /usr/local/bin --strip-components=1 -zxf- \ docker-master/docker docker-master/dockerd -if [[ -f /etc/init/dockerd.conf ]] +if [ -f /etc/init/dockerd.conf ] then echo "Upstart script already exists." else