1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/lionwiki-t2t_ynh.git synced 2024-09-03 19:36:27 +02:00
This commit is contained in:
farvardin 2020-04-23 00:15:49 +02:00
parent 9ba15f2851
commit a5e6bd2132

View file

@ -50,11 +50,12 @@ elif [ "$is_public" = "No" ]; then
is_public=0 is_public=0
fi fi
# don't use DB!
# If db_name doesn't exist, create it # If db_name doesn't exist, create it
if [ -z "$db_name" ]; then #if [ -z "$db_name" ]; then
db_name=$(ynh_sanitize_dbid --db_name=$app) # db_name=$(ynh_sanitize_dbid --db_name=$app)
ynh_app_setting_set --app=$app --key=db_name --value=$db_name # ynh_app_setting_set --app=$app --key=db_name --value=$db_name
fi #fi
# If final_path doesn't exist, create it # If final_path doesn't exist, create it
if [ -z "$final_path" ]; then if [ -z "$final_path" ]; then