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

Added sql import add sources

This commit is contained in:
anmol 2018-11-10 15:18:19 +05:30
parent f5d8e3268e
commit 6979bbdbfa

View file

@ -113,6 +113,8 @@ ynh_app_setting_set $app final_path $final_path
# Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source "$final_path"
# Import database schema
ynh_mysql_connect_as "$db_name" "$db_pwd" "$db_name" < $final_path/schema.sql
#=================================================
# NGINX CONFIGURATION