1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/gemserv_ynh.git synced 2024-09-03 18:36:27 +02:00

remove the stored checksum before deleting server.toml

This commit is contained in:
OniriCorpe 2022-05-09 23:46:16 +02:00
parent 099c3fc95d
commit a70c6f5328

View file

@ -56,7 +56,8 @@ ynh_script_progression --message="Ensuring downward compatibility..."
# Upgrade from <=0.6.6~ynh1:
if ynh_compare_current_package_version --comparison le --version 0.6.6~ynh1
then
rm /etc/"$app"/config.d/server.toml
ynh_delete_file_checksum --file=/etc/"$app"/config.d/server.toml
ynh_secure_remove --file=/etc/"$app"/config.d/server.toml
fi
#=================================================