|
|
@@ -12,8 +12,6 @@ source /usr/share/yunohost/helpers
|
|
|
#=================================================
|
|
|
ynh_script_progression --message="Removing system configurations related to $app..." --weight=1
|
|
|
|
|
|
-ynh_exec_warn_less yunohost user delete $zabbix_username --purge
|
|
|
-
|
|
|
# need remove pinning
|
|
|
if [ -f "/etc/apt/preferences.d/zabbix_repo" ]; then
|
|
|
ynh_secure_remove --file="/etc/apt/preferences.d/zabbix_repo"
|
|
|
@@ -46,6 +44,8 @@ ynh_secure_remove --file="/etc/sudoers.d/$app"
|
|
|
|
|
|
ynh_secure_remove --file="/usr/share/zabbix-cli"
|
|
|
|
|
|
+ynh_exec_warn_less yunohost user delete $zabbix_username --purge
|
|
|
+
|
|
|
#=================================================
|
|
|
# END OF SCRIPT
|
|
|
#=================================================
|