1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/fider_ynh.git synced 2024-09-03 18:36:11 +02:00

Merge pull request #44 from Jibec/patch-1

use explicit arguments for mysql
This commit is contained in:
JimboJoe 2018-01-18 07:32:23 +01:00 committed by GitHub
commit 53d211389e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,6 +18,7 @@ app=$YNH_APP_INSTANCE_NAME
domain=$(ynh_app_setting_get $app domain)
port=$(ynh_app_setting_get $app port)
db_name=$(ynh_app_setting_get $app db_name)
db_user=$db_name
final_path=$(ynh_app_setting_get $app final_path)
#=================================================
@ -51,7 +52,7 @@ ynh_remove_app_dependencies
#=================================================
# Remove a database if it exists, along with the associated user
ynh_mysql_remove_db $db_name $db_name
ynh_mysql_remove_db $db_user $db_name
#=================================================
# REMOVE APP MAIN DIR