2019-06-14 18:57:58 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
#=================================================
|
|
|
|
# IMPORT GENERIC HELPERS
|
|
|
|
#=================================================
|
|
|
|
|
2020-06-03 01:58:54 +02:00
|
|
|
source _common.sh
|
2019-06-14 18:57:58 +02:00
|
|
|
source /usr/share/yunohost/helpers
|
|
|
|
|
|
|
|
#=================================================
|
|
|
|
# MODIFY URL IN NGINX CONF
|
|
|
|
#=================================================
|
2020-10-01 22:37:20 +02:00
|
|
|
ynh_script_progression --message="Updating NGINX web server configuration..." --weight=1
|
2019-06-14 18:57:58 +02:00
|
|
|
|
2024-03-16 13:58:59 +01:00
|
|
|
ynh_change_url_nginx_config
|
2019-06-14 18:57:58 +02:00
|
|
|
|
|
|
|
#=================================================
|
2019-06-19 02:18:00 +02:00
|
|
|
# UPDATE DRUSH ALIAS
|
|
|
|
#=================================================
|
2020-03-29 05:02:23 +02:00
|
|
|
ynh_script_progression --message="Updating Drush alias..." --weight=1
|
2019-06-19 02:18:00 +02:00
|
|
|
|
2024-03-16 13:58:59 +01:00
|
|
|
ynh_add_config --template="yoursite.aliases.drushrc.php" --destination="$install_dir/.drush/$app.aliases.drushrc.php"
|
2019-06-14 18:57:58 +02:00
|
|
|
|
|
|
|
#=================================================
|
|
|
|
# END OF SCRIPT
|
|
|
|
#=================================================
|
|
|
|
|
2020-03-29 05:02:23 +02:00
|
|
|
ynh_script_progression --message="Change of URL completed for $app" --last
|