summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-analyzer/wireshark/wireshark-99999999.ebuild')
-rw-r--r--net-analyzer/wireshark/wireshark-99999999.ebuild4
1 files changed, 3 insertions, 1 deletions
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() {