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

remove improvement script

This commit is contained in:
Kayou 2019-02-26 01:11:59 +01:00
parent fd6172d2c7
commit 4e940b3b41
No known key found for this signature in database
GPG key ID: 823A2CBE071D3126

View file

@ -44,7 +44,7 @@ final_path=$(ynh_app_setting_get $app final_path)
#=================================================
# Remove a service from the admin panel, added by `yunohost service add`
if yunohost service status | grep -q $service_name
if yunohost service status $service_name >/dev/null 2>&1
then
ynh_print_info "Removing $app service"
yunohost service remove $service_name