commit:     2cf983160177a68d1214aa97605b54bc303898d4
Author:     James Kalyan <contrib_x <AT> protonmail <DOT> com>
AuthorDate: Sat May 22 10:17:43 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Sat May 22 10:22:03 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2cf98316

x11-themes/qogir-icon-theme: remove gtk-update-icon-cache call

Let the xdg-utils eclass handle this with the xdg_icon_cache_update
function.

Closes: https://bugs.gentoo.org/791424
Signed-off-by: James Kalyan <contrib_x <AT> protonmail.com>

 x11-themes/qogir-icon-theme/qogir-icon-theme-2020.11.22.ebuild | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/x11-themes/qogir-icon-theme/qogir-icon-theme-2020.11.22.ebuild 
b/x11-themes/qogir-icon-theme/qogir-icon-theme-2020.11.22.ebuild
index b4dd0ec92..1565e313f 100644
--- a/x11-themes/qogir-icon-theme/qogir-icon-theme-2020.11.22.ebuild
+++ b/x11-themes/qogir-icon-theme/qogir-icon-theme-2020.11.22.ebuild
@@ -35,6 +35,10 @@ src_prepare() {
        sed -i -e "/cp.*cursors/i mkdir -p \${CURSOR_DIR}/Qogir\${color}" \
                -e "s:\(cp.*cursors\"\).*:\1 \${CURSOR_DIR}/Qogir\${color}:" \
                install.sh || die "Sed failed changing cursor location!"
+
+       # Use xdg-utils eclass instead
+       sed -i -e "/gtk-update-icon-cache/d" \
+               install.sh || die "Sed failed removing gtk-update-icon-cache 
call!"
 }
 
 src_install() {

Reply via email to