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:
parent
099c3fc95d
commit
a70c6f5328
1 changed files with 2 additions and 1 deletions
|
@ -56,7 +56,8 @@ ynh_script_progression --message="Ensuring downward compatibility..."
|
||||||
# Upgrade from <=0.6.6~ynh1:
|
# Upgrade from <=0.6.6~ynh1:
|
||||||
if ynh_compare_current_package_version --comparison le --version 0.6.6~ynh1
|
if ynh_compare_current_package_version --comparison le --version 0.6.6~ynh1
|
||||||
then
|
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
|
fi
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in a new issue