1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/photoprism_ynh.git synced 2024-09-03 19:56:41 +02:00

Update change_url

This commit is contained in:
Limezy 2022-06-04 15:39:50 +07:00
parent 24efdf7e75
commit 630addddf6

View file

@ -108,7 +108,16 @@ fi
#================================================= #=================================================
# SPECIFIC MODIFICATIONS # SPECIFIC MODIFICATIONS
#================================================= #=================================================
# ...
ynh_script_progression --message="Updating the configuration file..." --weight=1
domain=$new_domain
path_url=$new_path
ynh_secure_remove --file="$final_path/build/config/options.yml"
ynh_add_config --template="options.yml" --destination="$final_path/build/config/options.yml"
chmod 400 "$final_path/build/config/options.yml"
chown $app:$app "$final_path/build/config/options.yml"
#================================================= #=================================================
#================================================= #=================================================