1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/UMS_ynh.git synced 2024-10-01 13:35:01 +02:00

move from port_web to port

This commit is contained in:
Krakinou 2023-08-17 22:38:18 +02:00
parent 85df296b67
commit 40d94092a9

View file

@ -49,6 +49,14 @@ then
--target_file="/home/yunohost.app/$app/.config/UMS/UMS.conf"
fi
#From packaging v1 to packaging v2 : "port_web" become "port". We need to handle this manually or
#the core go for a new port.
if [ ! -z $(ynh_app_setting_get --app=$app --key=port_web) ]; then
port=$port_web
ynh_app_setting_delete --app=$app --key=port_web
ynh_app_setting_set --app=$app --key=port --value=$port
fi
#=================================================
# STANDARD UPGRADE STEPS
#=================================================