From b4fa0b6d8d07bccf2b31272811f40a6606be73c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Wed, 22 Nov 2023 19:03:17 +0100 Subject: [PATCH] Fix checksum issue --- scripts/install | 2 +- scripts/upgrade | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 668f376..8271121 100644 --- a/scripts/install +++ b/scripts/install @@ -333,7 +333,7 @@ ynh_add_fpm_config --usage=low --footprint=low sed -i "s|user\s*=\s*$app|user = matrix-$app|g" /etc/php/7.*/fpm/pool.d/$app.conf sed -i "s|group\s*=\s*$app|group = matrix-$app|g" /etc/php/7.*/fpm/pool.d/$app.conf sed -i "s|chdir\s*=\s*/opt/yunohost/matrix-synapse.*|chdir = $final_www_path|g" /etc/php/7.*/fpm/pool.d/$app.conf -ynh_store_file_checksum --file=/etc/php/7.*/fpm/pool.d/$app.conf +ynh_store_file_checksum --file=$(ls /etc/php/7.*/fpm/pool.d/$app.conf) # Create .well-known redirection for access by federation if yunohost --output-as plain domain list | grep -q "^$server_name$" diff --git a/scripts/upgrade b/scripts/upgrade index 5df26b2..0dee176 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -523,7 +523,7 @@ ynh_add_fpm_config --usage=low --footprint=low sed -i "s|user\s*=\s*$app|user = matrix-$app|g" /etc/php/7.*/fpm/pool.d/$app.conf sed -i "s|group\s*=\s*$app|group = matrix-$app|g" /etc/php/7.*/fpm/pool.d/$app.conf sed -i "s|chdir\s*=\s*/opt/yunohost/matrix-synapse.*|chdir = $final_www_path|g" /etc/php/7.*/fpm/pool.d/$app.conf -ynh_store_file_checksum --file=/etc/php/7.*/fpm/pool.d/$app.conf +ynh_store_file_checksum --file=$(ls /etc/php/7.*/fpm/pool.d/$app.conf) # Create .well-known redirection for access by federation if yunohost --output-as plain domain list | grep -q "^$server_name$"