mirror of
https://github.com/YunoHost-Apps/emailpoubelle_ynh.git
synced 2024-09-03 18:26:29 +02:00
Update install
This commit is contained in:
parent
66a6c7e020
commit
41010d38f1
1 changed files with 9 additions and 0 deletions
|
@ -75,6 +75,15 @@ ln -s $final_path/lang/fr $final_path/lang/fr_FR
|
||||||
ln -s $final_path/lang/it $final_path/lang/it_IT
|
ln -s $final_path/lang/it $final_path/lang/it_IT
|
||||||
ln -s $final_path/www/template-exemple $final_path/template-exemple
|
ln -s $final_path/www/template-exemple $final_path/template-exemple
|
||||||
|
|
||||||
|
#=================================================
|
||||||
|
# CREATE A MYSQL DATABASE
|
||||||
|
#=================================================
|
||||||
|
ynh_script_progression --message="Creating a MySQL database..." --weight=1
|
||||||
|
|
||||||
|
db_name=$(ynh_sanitize_dbid --db_name=$app)
|
||||||
|
db_user=$db_name
|
||||||
|
ynh_app_setting_set --app=$app --key=db_name --value=$db_name
|
||||||
|
ynh_mysql_setup_db --db_user=$db_user --db_name=$db_name
|
||||||
|
|
||||||
#===============================================
|
#===============================================
|
||||||
# ADD A CONFIGURATION
|
# ADD A CONFIGURATION
|
||||||
|
|
Loading…
Add table
Reference in a new issue