1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/collabora_ynh.git synced 2024-09-03 18:16:25 +02:00

Update remove

This commit is contained in:
ericgaspar 2021-06-29 12:03:26 +02:00
parent 6aa856cadc
commit 39940a19f7
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -24,10 +24,10 @@ port=$(ynh_app_setting_get --app=$app --key=port)
#=================================================
# Remove the service from the list of services known by YunoHost (added from `yunohost service add`)
if ynh_exec_warn_less yunohost service status $app >/dev/null
if ynh_exec_warn_less yunohost service status "loolwsd" >/dev/null
then
ynh_script_progression --message="Removing $app service integration..." --weight=1
yunohost service remove $app
ynh_script_progression --message="Removing loolwsd service integration..." --weight=1
yunohost service remove "loolwsd"
fi
#=================================================