summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-themes/adwaita-icon-theme/adwaita-icon-theme-42.0_p2.ebuild')
-rw-r--r--x11-themes/adwaita-icon-theme/adwaita-icon-theme-42.0_p2.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/x11-themes/adwaita-icon-theme/adwaita-icon-theme-42.0_p2.ebuild b/x11-themes/adwaita-icon-theme/adwaita-icon-theme-42.0_p2.ebuild
index 8f5929ec582b..b6c5f66fbb73 100644
--- a/x11-themes/adwaita-icon-theme/adwaita-icon-theme-42.0_p2.ebuild
+++ b/x11-themes/adwaita-icon-theme/adwaita-icon-theme-42.0_p2.ebuild
@@ -67,7 +67,9 @@ src_compile() {
pkg_preinst() {
# Needed until bug #834600 is solved
- rm -r "${EROOT}"/usr/share/cursors/xorg-x11/Adwaita || die
+ if [[ -d "${EROOT}"/usr/share/cursors/xorg-x11/Adwaita ]] ; then
+ rm -r "${EROOT}"/usr/share/cursors/xorg-x11/Adwaita || die
+ fi
}
src_install() {