diff options
author | Pacho Ramos <pacho@gentoo.org> | 2022-05-29 12:46:50 +0200 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2022-05-29 12:48:12 +0200 |
commit | 1dc7507c70d477bcb12614393d7a8a840808a517 (patch) | |
tree | 009e8ca0d194f59d8e20557b97acac75821dcd29 /x11-themes/adwaita-icon-theme | |
parent | gnome-extra/gnome-shell-extension-weather-in-the-clock: stabilize 20220504 fo... (diff) | |
download | gentoo-1dc7507c70d477bcb12614393d7a8a840808a517.tar.gz gentoo-1dc7507c70d477bcb12614393d7a8a840808a517.tar.bz2 gentoo-1dc7507c70d477bcb12614393d7a8a840808a517.zip |
x11-themes/adwaita-icon-theme: Fix logic to remove old directory
Thanks-to: Agostino Sarubbo
Thanks-to: Joonas Niilola
Closes: https://bugs.gentoo.org/847877
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
Diffstat (limited to 'x11-themes/adwaita-icon-theme')
-rw-r--r-- | x11-themes/adwaita-icon-theme/adwaita-icon-theme-42.0_p2.ebuild | 4 |
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() { |