mirror of
https://github.com/YunoHost-Apps/pixelfed_ynh.git
synced 2024-09-03 20:06:04 +02:00
Merge branch 'testing' into v0.9.0
This commit is contained in:
commit
7046586c4c
1 changed files with 15 additions and 0 deletions
|
@ -158,6 +158,21 @@ ynh_replace_string "__DB_NAME__" "$db_name" "$config"
|
|||
ynh_replace_string "__DB_USER__" "$db_user" "$config"
|
||||
ynh_replace_string "__DB_PWD__" "$db_pwd" "$config"
|
||||
|
||||
#=================================================
|
||||
# MODIFY A CONFIG FILE
|
||||
#=================================================
|
||||
|
||||
config="$final_path/.env"
|
||||
cp ../conf/.env "$config"
|
||||
|
||||
ynh_replace_string "__APP__" "$app" "$config"
|
||||
ynh_replace_string "__APP_KEY__" "$app_key" "$config"
|
||||
ynh_replace_string "__DOMAIN__" "$domain" "$config"
|
||||
ynh_replace_string "__PATH__" "$path_url" "$config"
|
||||
ynh_replace_string "__DB_NAME__" "$db_name" "$config"
|
||||
ynh_replace_string "__DB_USER__" "$db_user" "$config"
|
||||
ynh_replace_string "__DB_PWD__" "$db_pwd" "$config"
|
||||
|
||||
#=================================================
|
||||
# DEPLOYMENT
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue