mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-11-04 16:40:21 +00:00
installer: fix docker compose command determination (#307)
This commit is contained in:
1 parent
d790ca04d6
commit
1bcddf1944
2 files changed
+2
-2
No files matched your search
@@ -793,7 +793,7 @@ clean_all() {
|
||||
|
||||
select_version() {
|
||||
DOCKER_COMPOSE_COMMAND=""
|
||||
if command -v docker compose >/dev/null 2>&1; then
|
||||
if docker compose version >/dev/null 2>&1; then
|
||||
DOCKER_COMPOSE_COMMAND="docker compose"
|
||||
elif command -v docker-compose >/dev/null 2>&1; then
|
||||
DOCKER_COMPOSE_COMMAND="docker-compose"
|
||||
|
||||
Reference in new issue
Block a user