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

Fix service integration removal on uninstall

This commit is contained in:
Jules Bertholet 2021-03-25 22:20:11 -04:00
parent 40a3cf4d84
commit 4354253e24
2 changed files with 3 additions and 2 deletions

View file

@ -6,7 +6,7 @@
"en": "Clientless remote desktop gateway. It supports standard protocols like VNC, RDP, and SSH.",
"fr": "Service de bureau à distance sans client. Fonctionne avec des protocoles standard comme VNC, RDP, et SSH."
},
"version": "1.3.0~ynh2",
"version": "1.3.0~ynh3",
"url": "https://example.com",
"license": "Apache-2.0",
"maintainer": {

View file

@ -32,7 +32,8 @@ final_path=$(ynh_app_setting_get --app=$app --key=final_path)
if ynh_exec_warn_less yunohost service status $app >/dev/null
then
ynh_script_progression --message="Removing $app service integration..." --weight=1
yunohost service remove $app
yunohost service remove "$app-guacd"
yunohost service remove "$app-tomcat"
fi
#=================================================