|
@@ -12,6 +12,9 @@ source /usr/share/yunohost/helpers
|
|
|
#=================================================
|
|
#=================================================
|
|
|
ynh_script_progression --message="Removing system configurations related to $app..." --weight=1
|
|
ynh_script_progression --message="Removing system configurations related to $app..." --weight=1
|
|
|
|
|
|
|
|
|
|
+# need remove pinning
|
|
|
|
|
+ynh_secure_remove --file="/etc/apt/preferences.d/zabbix_repo"
|
|
|
|
|
+
|
|
|
ynh_exec_warn_less yunohost user delete $zabbix_username --purge
|
|
ynh_exec_warn_less yunohost user delete $zabbix_username --purge
|
|
|
|
|
|
|
|
# Remove the dedicated systemd config
|
|
# Remove the dedicated systemd config
|
|
@@ -41,7 +44,6 @@ ynh_secure_remove --file="/etc/sudoers.d/$app"
|
|
|
|
|
|
|
|
ynh_secure_remove --file="/usr/share/zabbix-cli"
|
|
ynh_secure_remove --file="/usr/share/zabbix-cli"
|
|
|
|
|
|
|
|
-ynh_secure_remove --file="/etc/apt/preferences.d/zabbix_repo"
|
|
|
|
|
|
|
|
|
|
#=================================================
|
|
#=================================================
|
|
|
# END OF SCRIPT
|
|
# END OF SCRIPT
|