1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Get rid of bashism

This commit is contained in:
Jérôme Petazzoni 2013-03-11 23:13:08 -07:00
parent c1fa4efad6
commit f90f6a0b92

View file

@ -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 <progrium@gmail.com>
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