Skip to content
Permalink
Browse files

fix(init.sh): init.sh install bug

  • Loading branch information...
import-yuefeng authored and wei committed Mar 1, 2019
1 parent 10b2b93 commit aa28d75fdbc56629ebb01f0bf099e7389921e7e6
Showing with 4 additions and 0 deletions.
  1. +4 −0 init.sh
@@ -17,11 +17,15 @@ echo "Welcome to instantbox, please wait..."
echo ""

if check_cmd docker; then
echo "docker is installed"
else
echo "docker is not installed, please try again after it's installed"
exit 1
fi

if check_cmd docker-compose; then
echo "docker-compose is installed"
else
curl -sSL https://raw.githubusercontent.com/docker/compose/master/script/run/run.sh > /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose || exit 1
fi

0 comments on commit aa28d75

Please sign in to comment.
You can’t perform that action at this time.