diff options
author | Jeroen Roovers <jer@gentoo.org> | 2020-05-20 10:05:31 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2020-05-20 10:06:00 +0200 |
commit | 5a61d35c67d0c12cae64b104107ccab3d216eb5e (patch) | |
tree | b77a51782bcf72f6ac9201b94ac6c530036d0eff /net-analyzer | |
parent | dev-texlive/texlive-xetex: amd64 stable wrt bug #723404 (diff) | |
download | gentoo-5a61d35c67d0c12cae64b104107ccab3d216eb5e.tar.gz gentoo-5a61d35c67d0c12cae64b104107ccab3d216eb5e.tar.bz2 gentoo-5a61d35c67d0c12cae64b104107ccab3d216eb5e.zip |
net-analyzer/wireshark: Remove /usr/share/appdata when present
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Fixes: b0222a2948853f723eb7b52e0b972702f1684b29
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/wireshark/wireshark-3.2.4.ebuild | 4 | ||||
-rw-r--r-- | net-analyzer/wireshark/wireshark-99999999.ebuild | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/net-analyzer/wireshark/wireshark-3.2.4.ebuild b/net-analyzer/wireshark/wireshark-3.2.4.ebuild index e5c132a7e21a..f6f0080e6646 100644 --- a/net-analyzer/wireshark/wireshark-3.2.4.ebuild +++ b/net-analyzer/wireshark/wireshark-3.2.4.ebuild @@ -226,7 +226,9 @@ src_install() { done fi - rm -r "${D}"/usr/share/appdata || die + if [[ -d "${D}"/usr/share/appdata ]]; then + rm -r "${D}"/usr/share/appdata || die + fi } pkg_postinst() { diff --git a/net-analyzer/wireshark/wireshark-99999999.ebuild b/net-analyzer/wireshark/wireshark-99999999.ebuild index 8014ce381103..a358f4abf6ea 100644 --- a/net-analyzer/wireshark/wireshark-99999999.ebuild +++ b/net-analyzer/wireshark/wireshark-99999999.ebuild @@ -220,7 +220,9 @@ src_install() { done fi - rm -r "${D}"/usr/share/appdata || die + if [[ -d "${D}"/usr/share/appdata ]]; then + rm -r "${D}"/usr/share/appdata || die + fi } pkg_postinst() { |