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

Update remove

This commit is contained in:
ericgaspar 2021-01-06 14:47:04 +01:00
parent 609dba213d
commit cc910a2555
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -24,10 +24,10 @@ domain=$(ynh_app_setting_get --app=$app --key=domain)
# REMOVE SERVICE FROM ADMIN PANEL
#=================================================
# Check if the service is declared in YunoHost
if yunohost service status $app >/dev/null 2>&1
# 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
then
ynh_script_progression --message="Removing $app service..."
ynh_script_progression --message="Removing $app service integration..." --time --weight=1
yunohost service remove $app
fi