mirror of
https://github.com/YunoHost-Apps/gemserv_ynh.git
synced 2024-09-03 18:36:27 +02:00
remove the old server.toml on upgrade
This commit is contained in:
parent
93aa4564d8
commit
099c3fc95d
1 changed files with 6 additions and 0 deletions
|
@ -53,6 +53,12 @@ ynh_systemd_action --service_name="$app" --action="stop" --line_match="Stopped"
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Ensuring downward compatibility..."
|
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
|
||||||
|
fi
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# CREATE DEDICATED USER
|
# CREATE DEDICATED USER
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in a new issue