1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/nextcloud_ynh.git synced 2024-09-03 19:55:57 +02:00

Update _ynh_mysql_dump_db.sh

This commit is contained in:
Éric Gaspar 2022-07-16 17:32:43 +02:00
parent 79cdc2a70a
commit bd99046423
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -19,6 +19,7 @@ ynh_mysql_dump_db() {
# Manage arguments with getopts # Manage arguments with getopts
ynh_handle_getopts_args "$@" ynh_handle_getopts_args "$@"
default_character_set="${default_character_set:-}" default_character_set="${default_character_set:-}"
MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql
if [ -n "$default_character_set" ] if [ -n "$default_character_set" ]
then then