shell.sh now falls back to docker compose (no dash)

This commit is contained in:
Alex 2022-09-18 12:51:15 +01:00
parent c5da81b83b
commit e8a6fe51e7

View File

@ -1,3 +1,7 @@
#!/bin/sh
docker-compose exec --user devilbox php bash -l
if hash docker-compose 2>/dev/null; then
docker-compose exec --user devilbox php bash -l
else
docker compose exec --user devilbox php bash -l
fi