Update .recipes/wordpress_mariadb/tools/backup.d/dumpdb_mysql.sh
Fixed typo in docker-compose detection.
This commit is contained in:
parent
df4e59ee9f
commit
a7d839b82a
@ -12,6 +12,8 @@
|
|||||||
#
|
#
|
||||||
# Author: Kovács Zoltán <kovacs.zoltan@smartfront.hu>
|
# Author: Kovács Zoltán <kovacs.zoltan@smartfront.hu>
|
||||||
# License: GNU/GPL 3+ https://www.gnu.org/licenses/gpl-3.0.en.html
|
# License: GNU/GPL 3+ https://www.gnu.org/licenses/gpl-3.0.en.html
|
||||||
|
# 2024-12-01 v0.2.1
|
||||||
|
# fix: typo in docker-compose version detection.
|
||||||
# 2024-08-25 v0.2
|
# 2024-08-25 v0.2
|
||||||
# new: docker-compose v2 compatibility - tested with Ubuntu 24.04 LTS.
|
# new: docker-compose v2 compatibility - tested with Ubuntu 24.04 LTS.
|
||||||
# 2021-10-19 v0.1 Initial version.
|
# 2021-10-19 v0.1 Initial version.
|
||||||
@ -53,7 +55,7 @@ done
|
|||||||
# All dependencies are available via "$THECOMMAND" (upper case) call.
|
# All dependencies are available via "$THECOMMAND" (upper case) call.
|
||||||
#
|
#
|
||||||
# Let's find which version of docker-compose is installed.
|
# Let's find which version of docker-compose is installed.
|
||||||
if [ $($DOCKER compose version 2>&1 >/dev/null; echo $?) -eq 0 ]; then
|
if [ $($DOCKER compose version >/dev/null 2>&1; echo $?) -eq 0 ]; then
|
||||||
# We'll use v2 if it is available.
|
# We'll use v2 if it is available.
|
||||||
DOCKER_COMPOSE="$DOCKER"
|
DOCKER_COMPOSE="$DOCKER"
|
||||||
commandstring="compose"
|
commandstring="compose"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user