1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/paheko_ynh.git synced 2024-09-03 19:56:22 +02:00

add ynh_store_file_checksum if file /config.local.php changed for 1.2.8

This commit is contained in:
rodinux 2023-12-28 20:04:25 +01:00
parent 7c70a788c0
commit 8f82299764

View file

@ -39,6 +39,7 @@ then
mv "$install_dir/config.local.yunohost.php" "$install_dir/config.local.php"
chmod 650 "$install_dir/config.local.php"
chown $app:$app "$install_dir/config.local.php"
ynh_store_file_checksum --file="$install_dir/config.local.php"
ynh_secure_remove "$install_dir/config.local.php.old"
ynh_secure_remove "$install_dir/config.local.user.php"
ynh_secure_remove "$install_dir/data/data"