mirror of
https://github.com/minetest/contentdb.git
synced 2024-12-23 06:22:24 +01:00
17 lines
252 B
Bash
Executable File
17 lines
252 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
docker_compose_version=$(docker-compose --version --short)
|
|
docker_compose_major=${docker_compose_version:0:1}
|
|
|
|
if [[ $docker_compose_major == "2" ]]; then
|
|
sep="-"
|
|
else
|
|
sep="_"
|
|
fi
|
|
|
|
container() {
|
|
echo "contentdb${sep}$1${sep}1"
|
|
}
|