Browse Source

install

master
zeus 4 years ago
parent
commit
43d923a458
  1. 20
      install.sh

20
install.sh

@ -57,12 +57,20 @@ else
fi fi
#check for docker-compose #check for docker-compose
dockercomposeversion=$(docker-compose -f $wdir/test/run.yml config --services) if ! command -v docker-compose &> /dev/null
if [ $dockercomposeversion != 'swarmlabclient' ];then then
echo "Cannot find docker-compose" echo "Cannot find docker-compose"
echo "Install it and try again!" echo "Install it and try again!"
echo "http://docs.swarmlab.io/SwarmLab-HowTos/labs/Howtos/docker/install.adoc.html" echo "http://docs.swarmlab.io/SwarmLab-HowTos/labs/Howtos/docker/install.adoc.html"
toolsok='no' toolsok='no'
else
dockercomposeversion=$(docker-compose -f $wdir/test/run.yml config --services)
if [ $dockercomposeversion != 'swarmlabclient' ];then
echo "Cannot find docker-compose"
echo "Install it and try again!"
echo "http://docs.swarmlab.io/SwarmLab-HowTos/labs/Howtos/docker/install.adoc.html"
toolsok='no'
fi
fi fi
#check for wireguard #check for wireguard

Loading…
Cancel
Save