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:
parent
c1fa4efad6
commit
f90f6a0b92
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue