1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pleroma_ynh.git synced 2024-09-03 20:15:59 +02:00

Fix upgrade from OTPs versions

This commit is contained in:
yalh76 2020-01-20 01:12:57 +01:00
parent a03e0a8124
commit ef784ee711

View file

@ -128,7 +128,7 @@ ynh_print_info --message="Stopping a systemd service..."
ynh_systemd_action --service_name=$app --action="stop" --log_path=systemd --line_match="Stopped $app"
if ynh_version_gt "1.1.7~ynh1" "${previous_version}" ; then
if ynh_version_gt "${previous_version}" "1.1.1~ynh1" ; then
pkill -u $app
fi