Skip to content
This repository has been archived by the owner on Feb 5, 2021. It is now read-only.

Commit

Permalink
Fix the docker executable path.
Browse files Browse the repository at this point in the history
  • Loading branch information
gnudeep authored and Mirage20 committed May 21, 2019
1 parent 214509f commit 9142dde
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions installers/macOS-x64/darwin/scripts/postinstall
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ else
#Pull docker based Ballerina cli.
echo "Ballerina 0.990.3 is not installed"
echo "Installing docker based Cellery CLI."
docker_status=$(docker info 2>&1 1>/dev/null)
docker_status=$(/usr/local/bin/docker info 2>&1 1>/dev/null)
if [[ $? -eq 0 ]]; then
echo "Pulling the docker based Cellery CLI image : wso2cellery/ballerina-runtime:${CELLERY_VERSION}"
docker pull wso2cellery/ballerina-runtime:${CELLERY_VERSION}
/usr/local/bin/docker pull wso2cellery/ballerina-runtime:${CELLERY_VERSION}
else
echo "Local Docker service is not ready. Installer can not pull the docker based Cellery CLI image."
fi
Expand Down

0 comments on commit 9142dde

Please sign in to comment.