reality-ezpz
reality-ezpz copied to clipboard
fix error docker-compose ls "command not found" coused by old version…
Hi , in the function "install_docker" there is a small bug. if the command docker-compose existed, it uses it in the script but first it should be checked for "docker-compose ls" command existence . because in case docker-compose has already been installed but in older version , it does not have "docker-compose ls" command and script fails to run properly. So I add another state to check for "docker-compose ls " existence and if it was not found, download the newer version and use absolute path of newer version not to change the default docker-compose and old installations.