diff options
Diffstat (limited to 'app-editors/bluefish/bluefish-2.2.9.ebuild')
-rw-r--r-- | app-editors/bluefish/bluefish-2.2.9.ebuild | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/app-editors/bluefish/bluefish-2.2.9.ebuild b/app-editors/bluefish/bluefish-2.2.9.ebuild index edf1fbd4866e..83184d2f47e1 100644 --- a/app-editors/bluefish/bluefish-2.2.9.ebuild +++ b/app-editors/bluefish/bluefish-2.2.9.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 PYTHON_COMPAT=( python2_7 ) -inherit autotools eutils fdo-mime python-single-r1 +inherit autotools eutils gnome2-utils python-single-r1 xdg-utils MY_P=${P/_/-} @@ -80,9 +80,14 @@ src_install() { prune_libtool_files } +pkg_preinst() { + gnome2_icon_savelist +} + pkg_postinst() { - fdo-mime_desktop_database_update - fdo-mime_mime_database_update + gnome2_icon_cache_update + xdg_desktop_database_update + xdg_mimeinfo_database_update einfo "Adding XML catalog entries..." /usr/bin/xmlcatalog --noout \ @@ -94,8 +99,9 @@ pkg_postinst() { } pkg_postrm() { - fdo-mime_desktop_database_update - fdo-mime_mime_database_update + gnome2_icon_cache_update + xdg_desktop_database_update + xdg_mimeinfo_database_update einfo "Removing XML catalog entries..." /usr/bin/xmlcatalog --noout \ --del 'Bluefish/DTD/Bflang' \ |