summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2020-05-20 10:05:31 +0200
committerJeroen Roovers <jer@gentoo.org>2020-05-20 10:06:00 +0200
commit5a61d35c67d0c12cae64b104107ccab3d216eb5e (patch)
treeb77a51782bcf72f6ac9201b94ac6c530036d0eff
parentdev-texlive/texlive-xetex: amd64 stable wrt bug #723404 (diff)
downloadgentoo-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>
-rw-r--r--net-analyzer/wireshark/wireshark-3.2.4.ebuild4
-rw-r--r--net-analyzer/wireshark/wireshark-99999999.ebuild4
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 e5c132a7e21..f6f0080e664 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 8014ce38110..a358f4abf6e 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() {