1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/tiddlywiki_ynh.git synced 2024-09-03 20:26:34 +02:00
tiddlywiki_ynh/scripts/remove

28 lines
680 B
Text
Raw Permalink Normal View History

2021-02-16 13:38:59 +01:00
#!/bin/bash
2021-02-16 14:17:45 +01:00
source _common.sh
2021-02-16 13:38:59 +01:00
source /usr/share/yunohost/helpers
#=================================================
2023-03-12 22:29:28 +01:00
# REMOVE SYSTEM CONFIGURATIONS
2021-02-16 14:17:45 +01:00
#=================================================
2024-06-23 09:23:13 +02:00
ynh_script_progression "Removing system configurations related to $app..."
2021-02-16 14:17:45 +01:00
2024-06-23 09:23:13 +02:00
if ynh_hide_warnings yunohost service status $app >/dev/null
2021-02-16 14:17:45 +01:00
then
2024-06-23 09:23:13 +02:00
ynh_script_progression "Removing $app service integration..."
2021-02-16 14:17:45 +01:00
yunohost service remove $app
fi
2024-06-23 09:23:13 +02:00
ynh_config_remove_systemd
2021-02-16 14:17:45 +01:00
2024-06-23 09:23:13 +02:00
ynh_config_remove_nginx
2021-02-16 13:38:59 +01:00
2024-06-23 09:23:13 +02:00
ynh_nodejs_remove
2021-02-16 13:38:59 +01:00
#=================================================
# END OF SCRIPT
#=================================================
2024-06-23 09:23:13 +02:00
ynh_script_progression "Removal of $app completed"