mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-11-28 09:24:24 +01:00
(bug) unable to run scripts on systemts with legacy version of docker-compose
This commit is contained in:
parent
04df9c1273
commit
73ee927088
@ -2,6 +2,8 @@
|
||||
|
||||
## next deploy
|
||||
|
||||
- Fix a bug: unable to run scripts on systemts with legacy version of docker-compose
|
||||
|
||||
## v5.4.1 2022 May 23
|
||||
|
||||
- Disable to clicking outside or pressing escape to close sign up modal
|
||||
|
@ -4,11 +4,11 @@ docker-compose()
|
||||
{
|
||||
if ! docker compose version 1>/dev/null 2>/dev/null
|
||||
then
|
||||
if ! \docker-compose version 1>/dev/null 2>/dev/null
|
||||
if ! command docker-compose version 1>/dev/null 2>/dev/null
|
||||
then
|
||||
echo -e "\e[91m[ ❌ ] docker-compose was not found, exiting...\e[39m" && exit 1
|
||||
else
|
||||
\docker-compose "$@"
|
||||
command docker-compose "$@"
|
||||
fi
|
||||
else
|
||||
docker compose "$@"
|
||||
|
@ -12,11 +12,11 @@ docker-compose()
|
||||
{
|
||||
if ! docker compose version 1>/dev/null 2>/dev/null
|
||||
then
|
||||
if ! \docker-compose version 1>/dev/null 2>/dev/null
|
||||
if ! command docker-compose version 1>/dev/null 2>/dev/null
|
||||
then
|
||||
echo -e "\e[91m[ ❌ ] docker-compose was not found, exiting...\e[39m" && exit 1
|
||||
else
|
||||
\docker-compose "$@"
|
||||
command docker-compose "$@"
|
||||
fi
|
||||
else
|
||||
docker compose "$@"
|
||||
|
@ -63,11 +63,11 @@ docker-compose()
|
||||
{
|
||||
if ! docker compose version 1>/dev/null 2>/dev/null
|
||||
then
|
||||
if ! \docker-compose version 1>/dev/null 2>/dev/null
|
||||
if ! command docker-compose version 1>/dev/null 2>/dev/null
|
||||
then
|
||||
echo -e "\e[91m[ ❌ ] docker-compose was not found, exiting...\e[39m" && exit 1
|
||||
else
|
||||
\docker-compose "$@"
|
||||
command docker-compose "$@"
|
||||
fi
|
||||
else
|
||||
docker compose "$@"
|
||||
|
@ -47,11 +47,11 @@ docker-compose()
|
||||
{
|
||||
if ! docker compose version 1>/dev/null 2>/dev/null
|
||||
then
|
||||
if ! \docker-compose version 1>/dev/null 2>/dev/null
|
||||
if ! command docker-compose version 1>/dev/null 2>/dev/null
|
||||
then
|
||||
echo -e "\e[91m[ ❌ ] docker-compose was not found, exiting...\e[39m" && exit 1
|
||||
else
|
||||
\docker-compose "$@"
|
||||
command docker-compose "$@"
|
||||
fi
|
||||
else
|
||||
docker compose "$@"
|
||||
|
Loading…
Reference in New Issue
Block a user