1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/zwave-js-ui_ynh.git synced 2024-09-03 18:06:00 +02:00
zwave-js-ui_ynh/scripts/remove

28 lines
690 B
Text
Raw Normal View History

2022-11-13 11:25:39 +01:00
#!/bin/bash
source _common.sh
source /usr/share/yunohost/helpers
#=================================================
2024-09-01 17:54:21 +02:00
# REMOVE SYSTEM CONFIGURATIONS
2022-11-13 11:25:39 +01:00
#=================================================
2024-09-01 17:54:21 +02:00
ynh_script_progression "Removing system configurations related to $app..."
2022-11-13 11:25:39 +01:00
if ynh_hide_warnings yunohost service status $app >/dev/null
2022-11-13 11:25:39 +01:00
then
ynh_script_progression "Removing $app service integration..."
2022-11-13 11:25:39 +01:00
yunohost service remove $app
fi
ynh_config_remove_systemd
2022-11-13 11:25:39 +01:00
ynh_config_remove_logrotate
2022-11-13 11:25:39 +01:00
ynh_config_remove_nginx
2022-11-13 11:25:39 +01:00
2024-09-01 17:54:21 +02:00
#=================================================
# END OF SCRIPT
#=================================================
ynh_script_progression "Removal of $app completed"