mirror of
https://github.com/YunoHost-Apps/humhub_ynh.git
synced 2024-09-03 19:26:11 +02:00
26 lines
772 B
Bash
26 lines
772 B
Bash
#!/bin/bash
|
|
|
|
source _common.sh
|
|
source /usr/share/yunohost/helpers
|
|
|
|
#=================================================
|
|
# MODIFY URL IN NGINX CONF
|
|
#=================================================
|
|
ynh_script_progression "Updating NGINX web server configuration..."
|
|
|
|
ynh_config_change_url_nginx
|
|
|
|
#=================================================
|
|
# UPDATE HUMHUB CONFIGURATION
|
|
#=================================================
|
|
ynh_script_progression "Updating HUMHUB configuration..."
|
|
|
|
pushd $install_dir/protected
|
|
php$php_version yii settings/set base baseUrl http://$new_domain$new_path
|
|
popd
|
|
|
|
#=================================================
|
|
# END OF SCRIPT
|
|
#=================================================
|
|
|
|
ynh_script_progression "Change of URL completed for $app"
|