mirror of
https://github.com/YunoHost-Apps/kanboard_ynh.git
synced 2024-09-03 19:36:17 +02:00
Update install
This commit is contained in:
parent
7f351319f3
commit
a6b10c3e8f
1 changed files with 6 additions and 1 deletions
|
@ -101,7 +101,12 @@ phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)
|
|||
#=================================================
|
||||
ynh_script_progression --message="Configuring Kanboard..."
|
||||
|
||||
ynh_add_config --template="../conf/config.php" --destination="$final_path/config.php"
|
||||
cp ../conf/config.php "$config_php"
|
||||
ynh_replace_string --match_string="__DB_PWD__" --replace_string="$db_pwd" --target_file="$config_php"
|
||||
ynh_replace_string --match_string="__DB_NAME__" --replace_string=$db_name --target_file="$config_php"
|
||||
ynh_replace_string --match_string="__USER__" --replace_string=$admin --target_file="$config_php"
|
||||
ynh_replace_string --match_string="__EMAIL__" --replace_string=$email --target_file="$config_php"
|
||||
ynh_replace_string --match_string="__DOMAIN__" --replace_string=$domain --target_file="$config_php"
|
||||
|
||||
#=================================================
|
||||
# DATABASE INITIALIZATION
|
||||
|
|
Loading…
Add table
Reference in a new issue