commit:     60d656fac07ee43efbe05408cd5082a64612e883
Author:     Tim Harder <radhermit <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 28 22:18:24 2018 +0000
Commit:     Tim Harder <radhermit <AT> gentoo <DOT> org>
CommitDate: Fri Dec 28 22:24:09 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60d656fa

app-editors/vim: drop unnecessary icon cache update

Icon is installed by vim-core which runs the cache update as well.

Signed-off-by: Tim Harder <radhermit <AT> gentoo.org>

 app-editors/vim/vim-8.1.0648.ebuild | 8 +++-----
 app-editors/vim/vim-9999.ebuild     | 8 +++-----
 2 files changed, 6 insertions(+), 10 deletions(-)

diff --git a/app-editors/vim/vim-8.1.0648.ebuild 
b/app-editors/vim/vim-8.1.0648.ebuild
index abe19b7c71a..53057996e0d 100644
--- a/app-editors/vim/vim-8.1.0648.ebuild
+++ b/app-editors/vim/vim-8.1.0648.ebuild
@@ -7,7 +7,7 @@ PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6,3_7} )
 PYTHON_REQ_USE="threads(+)"
 USE_RUBY="ruby23 ruby24 ruby25"
 
-inherit vim-doc flag-o-matic bash-completion-r1 python-single-r1 ruby-single 
desktop xdg-utils gnome2-utils
+inherit vim-doc flag-o-matic bash-completion-r1 python-single-r1 ruby-single 
desktop xdg-utils
 
 if [[ ${PV} == 9999* ]] ; then
        inherit git-r3
@@ -303,9 +303,8 @@ pkg_postinst() {
        # Call eselect vi update
        eselect_vi_update
 
-       # update desktop file mime/icon caches
+       # update desktop file mime cache
        xdg_desktop_database_update
-       gnome2_icon_cache_update
 }
 
 pkg_postrm() {
@@ -315,7 +314,6 @@ pkg_postrm() {
        # Call eselect vi update
        eselect_vi_update
 
-       # update desktop file mime/icon caches
+       # update desktop file mime cache
        xdg_desktop_database_update
-       gnome2_icon_cache_update
 }

diff --git a/app-editors/vim/vim-9999.ebuild b/app-editors/vim/vim-9999.ebuild
index abe19b7c71a..53057996e0d 100644
--- a/app-editors/vim/vim-9999.ebuild
+++ b/app-editors/vim/vim-9999.ebuild
@@ -7,7 +7,7 @@ PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6,3_7} )
 PYTHON_REQ_USE="threads(+)"
 USE_RUBY="ruby23 ruby24 ruby25"
 
-inherit vim-doc flag-o-matic bash-completion-r1 python-single-r1 ruby-single 
desktop xdg-utils gnome2-utils
+inherit vim-doc flag-o-matic bash-completion-r1 python-single-r1 ruby-single 
desktop xdg-utils
 
 if [[ ${PV} == 9999* ]] ; then
        inherit git-r3
@@ -303,9 +303,8 @@ pkg_postinst() {
        # Call eselect vi update
        eselect_vi_update
 
-       # update desktop file mime/icon caches
+       # update desktop file mime cache
        xdg_desktop_database_update
-       gnome2_icon_cache_update
 }
 
 pkg_postrm() {
@@ -315,7 +314,6 @@ pkg_postrm() {
        # Call eselect vi update
        eselect_vi_update
 
-       # update desktop file mime/icon caches
+       # update desktop file mime cache
        xdg_desktop_database_update
-       gnome2_icon_cache_update
 }

Reply via email to