mirror of
https://github.com/YunoHost-Apps/synapse-admin_ynh.git
synced 2024-09-03 20:26:34 +02:00
Zbrgfnfkl
This commit is contained in:
parent
754693b325
commit
666537d5f7
1 changed files with 2 additions and 0 deletions
|
@ -15,7 +15,9 @@ _add_synapse_endpoint_nginx_config() {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# In case the domain changed for some reason
|
# In case the domain changed for some reason
|
||||||
|
shopt -s extglob
|
||||||
old_endpoint_confs_for_this_app="$(ls /etc/nginx/conf.d/!($synapse_domain).d/$app.endpoint.conf 2>/dev/null)"
|
old_endpoint_confs_for_this_app="$(ls /etc/nginx/conf.d/!($synapse_domain).d/$app.endpoint.conf 2>/dev/null)"
|
||||||
|
shopt -u extglob
|
||||||
for FILE in $old_endpoint_confs_for_this_app
|
for FILE in $old_endpoint_confs_for_this_app
|
||||||
do
|
do
|
||||||
ynh_delete_file_checksum --file="$FILE"
|
ynh_delete_file_checksum --file="$FILE"
|
||||||
|
|
Loading…
Reference in a new issue