summaryrefslogtreecommitdiff
path: root/net-analyzer/zabbix/zabbix-5.0.7.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'net-analyzer/zabbix/zabbix-5.0.7.ebuild')
-rw-r--r--net-analyzer/zabbix/zabbix-5.0.7.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/net-analyzer/zabbix/zabbix-5.0.7.ebuild b/net-analyzer/zabbix/zabbix-5.0.7.ebuild
index 8f6e95562365..37470326b6db 100644
--- a/net-analyzer/zabbix/zabbix-5.0.7.ebuild
+++ b/net-analyzer/zabbix/zabbix-5.0.7.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -344,3 +344,7 @@ pkg_postinst() {
esac
fi
}
+
+pkg_prerm() {
+ (use frontend || use server) && webapp_pkg_prerm
+}