mirror of
https://github.com/YunoHost-Apps/haste_ynh.git
synced 2024-09-03 20:36:28 +02:00
0e1eafe7e0
* Upgrade to v0.1.2024.07.26 (#49) (#50)
* Upgrade sources
- `main` v0.1.2024.07.26: 87a6a88449...a56763258b
* Auto-update READMEs
Co-authored-by: YunoHost Bot <yunohost-bot@users.noreply.github.com>
* [autopatch] Automatic patch attempt for helpers 2.1
* cleaning
---------
Co-authored-by: eric_G <46165813+ericgaspar@users.noreply.github.com>
Co-authored-by: Yunohost-Bot <>
31 lines
738 B
Bash
Executable file
31 lines
738 B
Bash
Executable file
#!/bin/bash
|
|
|
|
source _common.sh
|
|
source /usr/share/yunohost/helpers
|
|
|
|
#=================================================
|
|
# REMOVE SYSTEM CONFIGURATIONS
|
|
#=================================================
|
|
ynh_script_progression "Removing system configurations related to $app..."
|
|
|
|
if ynh_hide_warnings yunohost service status $app >/dev/null
|
|
then
|
|
ynh_script_progression "Removing $app service integration..."
|
|
yunohost service remove $app
|
|
fi
|
|
|
|
ynh_config_remove_systemd
|
|
|
|
ynh_config_remove_nginx
|
|
|
|
ynh_config_remove_logrotate
|
|
|
|
ynh_safe_rm "/usr/bin/$app"
|
|
|
|
ynh_nodejs_remove
|
|
|
|
#=================================================
|
|
# END OF SCRIPT
|
|
#=================================================
|
|
|
|
ynh_script_progression "Removal of $app completed"
|