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
|
|
|
|
#=================================================
|
2024-08-30 22:55:42 +02:00
|
|
|
ynh_script_progression "Updating NGINX web server configuration..."
|
2019-06-14 18:57:58 +02:00
|
|
|
|
2024-08-30 22:55:42 +02:00
|
|
|
ynh_config_change_url_nginx
|
2019-06-14 18:57:58 +02:00
|
|
|
|
|
|
|
#=================================================
|
2019-06-19 02:18:00 +02:00
|
|
|
# UPDATE DRUSH ALIAS
|
|
|
|
#=================================================
|
2024-08-30 22:55:42 +02:00
|
|
|
ynh_script_progression "Updating Drush alias..."
|
2019-06-19 02:18:00 +02:00
|
|
|
|
2024-08-30 22:55:42 +02:00
|
|
|
ynh_config_add --template="yoursite.aliases.drushrc.php" --destination="$install_dir/.drush/$app.aliases.drushrc.php"
|
2019-06-14 18:57:58 +02:00
|
|
|
|
|
|
|
#=================================================
|
|
|
|
# END OF SCRIPT
|
|
|
|
#=================================================
|
|
|
|
|
2024-08-30 22:55:42 +02:00
|
|
|
ynh_script_progression "Change of URL completed for $app"
|