commit:     0495e9a64d8a396961eb7768551a54c5fc1408e9
Author:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 28 11:47:07 2021 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Thu Jan 28 11:47:19 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0495e9a6

net-analyzer/zabbix: fixed wabapp-config error on pkg_prerm()

Closes: https://bugs.gentoo.org/767688
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 net-analyzer/zabbix/zabbix-3.0.31-r2.ebuild | 6 +++++-
 net-analyzer/zabbix/zabbix-4.0.27-r1.ebuild | 4 ++++
 net-analyzer/zabbix/zabbix-4.0.28.ebuild    | 4 ++++
 net-analyzer/zabbix/zabbix-5.0.6-r1.ebuild  | 4 ++++
 net-analyzer/zabbix/zabbix-5.0.7.ebuild     | 6 +++++-
 net-analyzer/zabbix/zabbix-5.0.8.ebuild     | 4 ++++
 net-analyzer/zabbix/zabbix-5.2.2-r1.ebuild  | 4 ++++
 net-analyzer/zabbix/zabbix-5.2.3.ebuild     | 6 +++++-
 net-analyzer/zabbix/zabbix-5.2.4.ebuild     | 4 ++++
 9 files changed, 39 insertions(+), 3 deletions(-)

diff --git a/net-analyzer/zabbix/zabbix-3.0.31-r2.ebuild 
b/net-analyzer/zabbix/zabbix-3.0.31-r2.ebuild
index a0c92d82004..aa1e1274031 100644
--- a/net-analyzer/zabbix/zabbix-3.0.31-r2.ebuild
+++ b/net-analyzer/zabbix/zabbix-3.0.31-r2.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
@@ -348,3 +348,7 @@ pkg_postinst() {
                esac
        fi
 }
+
+pkg_prerm() {
+       (use frontend || use server) && webapp_pkg_prerm
+}

diff --git a/net-analyzer/zabbix/zabbix-4.0.27-r1.ebuild 
b/net-analyzer/zabbix/zabbix-4.0.27-r1.ebuild
index b13d6cef746..b20bafc87ab 100644
--- a/net-analyzer/zabbix/zabbix-4.0.27-r1.ebuild
+++ b/net-analyzer/zabbix/zabbix-4.0.27-r1.ebuild
@@ -347,3 +347,7 @@ pkg_postinst() {
                esac
        fi
 }
+
+pkg_prerm() {
+       (use frontend || use server) && webapp_pkg_prerm
+}

diff --git a/net-analyzer/zabbix/zabbix-4.0.28.ebuild 
b/net-analyzer/zabbix/zabbix-4.0.28.ebuild
index 0b9b0cc693f..6eb470b33c5 100644
--- a/net-analyzer/zabbix/zabbix-4.0.28.ebuild
+++ b/net-analyzer/zabbix/zabbix-4.0.28.ebuild
@@ -347,3 +347,7 @@ pkg_postinst() {
                esac
        fi
 }
+
+pkg_prerm() {
+       (use frontend || use server) && webapp_pkg_prerm
+}

diff --git a/net-analyzer/zabbix/zabbix-5.0.6-r1.ebuild 
b/net-analyzer/zabbix/zabbix-5.0.6-r1.ebuild
index 688147d3fb1..90a6d16b59e 100644
--- a/net-analyzer/zabbix/zabbix-5.0.6-r1.ebuild
+++ b/net-analyzer/zabbix/zabbix-5.0.6-r1.ebuild
@@ -344,3 +344,7 @@ pkg_postinst() {
                esac
        fi
 }
+
+pkg_prerm() {
+       (use frontend || use server) && webapp_pkg_prerm
+}

diff --git a/net-analyzer/zabbix/zabbix-5.0.7.ebuild 
b/net-analyzer/zabbix/zabbix-5.0.7.ebuild
index 8f6e9556236..37470326b6d 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
+}

diff --git a/net-analyzer/zabbix/zabbix-5.0.8.ebuild 
b/net-analyzer/zabbix/zabbix-5.0.8.ebuild
index 39cc07a3b42..37470326b6d 100644
--- a/net-analyzer/zabbix/zabbix-5.0.8.ebuild
+++ b/net-analyzer/zabbix/zabbix-5.0.8.ebuild
@@ -344,3 +344,7 @@ pkg_postinst() {
                esac
        fi
 }
+
+pkg_prerm() {
+       (use frontend || use server) && webapp_pkg_prerm
+}

diff --git a/net-analyzer/zabbix/zabbix-5.2.2-r1.ebuild 
b/net-analyzer/zabbix/zabbix-5.2.2-r1.ebuild
index 688147d3fb1..90a6d16b59e 100644
--- a/net-analyzer/zabbix/zabbix-5.2.2-r1.ebuild
+++ b/net-analyzer/zabbix/zabbix-5.2.2-r1.ebuild
@@ -344,3 +344,7 @@ pkg_postinst() {
                esac
        fi
 }
+
+pkg_prerm() {
+       (use frontend || use server) && webapp_pkg_prerm
+}

diff --git a/net-analyzer/zabbix/zabbix-5.2.3.ebuild 
b/net-analyzer/zabbix/zabbix-5.2.3.ebuild
index 8f6e9556236..37470326b6d 100644
--- a/net-analyzer/zabbix/zabbix-5.2.3.ebuild
+++ b/net-analyzer/zabbix/zabbix-5.2.3.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
+}

diff --git a/net-analyzer/zabbix/zabbix-5.2.4.ebuild 
b/net-analyzer/zabbix/zabbix-5.2.4.ebuild
index 39cc07a3b42..37470326b6d 100644
--- a/net-analyzer/zabbix/zabbix-5.2.4.ebuild
+++ b/net-analyzer/zabbix/zabbix-5.2.4.ebuild
@@ -344,3 +344,7 @@ pkg_postinst() {
                esac
        fi
 }
+
+pkg_prerm() {
+       (use frontend || use server) && webapp_pkg_prerm
+}

Reply via email to