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

35 lines
1.1 KiB
Text
Raw Normal View History

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"