1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/bookstack_ynh.git synced 2024-09-03 18:16:02 +02:00

Update change_url

This commit is contained in:
ericgaspar 2022-01-28 13:40:40 +01:00
parent 97c37f29de
commit ca7209eff1
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -102,14 +102,6 @@ fi
# MODIFY A CONFIG FILE # MODIFY A CONFIG FILE
#================================================= #=================================================
# path_url="$new_path"
# domain="$new_domain"
# mail_pwd=$(ynh_string_random --length=12)
# ynh_add_config --template=../conf/.env.example --destination=$final_path/.env
# chmod 600 $final_path/.env
ynh_script_progression --message="Reconfiguring congif file.." --weight=1 ynh_script_progression --message="Reconfiguring congif file.." --weight=1
sed -i '/APP_URL=/c\APP_URL=https://${new_domain}${new_path}' $final_path/.env sed -i '/APP_URL=/c\APP_URL=https://${new_domain}${new_path}' $final_path/.env