2019-05-02 01:04:28 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
#=================================================
|
|
|
|
# GENERIC STARTING
|
|
|
|
#=================================================
|
|
|
|
# IMPORT GENERIC HELPERS
|
|
|
|
#=================================================
|
|
|
|
|
|
|
|
source _common.sh
|
|
|
|
source /usr/share/yunohost/helpers
|
|
|
|
|
|
|
|
#=================================================
|
|
|
|
# STANDARD MODIFICATIONS
|
|
|
|
#=================================================
|
|
|
|
# MODIFY URL IN NGINX CONF
|
|
|
|
#=================================================
|
2021-04-10 01:26:34 +02:00
|
|
|
ynh_script_progression --message="Updating NGINX web server configuration..."
|
2019-05-02 01:04:28 +02:00
|
|
|
|
2024-02-01 22:16:33 +01:00
|
|
|
ynh_change_url_nginx_config
|
2019-05-02 01:04:28 +02:00
|
|
|
|
|
|
|
#=================================================
|
|
|
|
# SPECIFIC MODIFICATIONS
|
|
|
|
#=================================================
|
|
|
|
# UPDATE DRUSH ALIAS
|
|
|
|
#=================================================
|
2020-06-10 00:18:25 +02:00
|
|
|
ynh_script_progression --message="Updating Drush alias..."
|
2019-05-02 01:04:28 +02:00
|
|
|
|
2024-02-01 22:16:33 +01:00
|
|
|
ynh_add_config --template="yoursite.aliases.drushrc.php" --destination="$install_dir/.drush/$app.aliases.drushrc.php"
|
2019-05-02 01:04:28 +02:00
|
|
|
|
|
|
|
#=================================================
|
|
|
|
# END OF SCRIPT
|
|
|
|
#=================================================
|
|
|
|
|
2020-06-10 00:18:25 +02:00
|
|
|
ynh_script_progression --message="Change of URL completed for $app"
|