mirror of
https://github.com/YunoHost-Apps/synapse_ynh.git
synced 2024-09-03 20:26:38 +02:00
ynh_store_file_checksum after cp inside if block
This commit is contained in:
parent
f5a149102d
commit
233b7619c8
1 changed files with 1 additions and 1 deletions
|
@ -297,8 +297,8 @@ ynh_store_file_checksum --file="/etc/matrix-$app/log.yaml"
|
|||
# Create .well-known redirection for access by federation
|
||||
if yunohost --output-as plain domain list | grep -q "^$server_name$"
|
||||
then
|
||||
ynh_store_file_checksum --file="/etc/nginx/conf.d/__SERVER_NAME__.d/server_name.conf"
|
||||
cp ../conf/server_name.conf /etc/nginx/conf.d/${server_name}.d/server_name.conf
|
||||
ynh_store_file_checksum --file="/etc/nginx/conf.d/__SERVER_NAME__.d/server_name.conf"
|
||||
fi
|
||||
|
||||
ynh_replace_string --match_string=__DOMAIN__ --replace_string=$domain --target_file="/etc/nginx/conf.d/${server_name}.d/server_name.conf"
|
||||
|
|
Loading…
Add table
Reference in a new issue