diff options
| author | Michał Górny <mgorny@gentoo.org> | 2017-09-09 13:15:20 +0200 |
|---|---|---|
| committer | Johannes Huber <johu@gentoo.org> | 2017-09-09 13:15:20 +0200 |
| commit | 58a5081de7ff55cd0661013ae65b825a4e04f2e7 (patch) | |
| tree | a756705489165b8a3590f6e342c58bb6837776d6 /eclass/kde5.eclass | |
| parent | c2d323442cdd3fe445359cac6d4a26cb1960371b (diff) | |
| download | kde-58a5081de7ff55cd0661013ae65b825a4e04f2e7.tar.gz kde-58a5081de7ff55cd0661013ae65b825a4e04f2e7.tar.bz2 kde-58a5081de7ff55cd0661013ae65b825a4e04f2e7.zip | |
*.eclass: Include GNOME2_ECLASS_ICONS condition in postrm as well
The original GNOME2_ECLASS_ICONS patch has moved the condition from
gnome2_icon_cache_update to postinst phases of functions using
the preinst/postinst logic but accidentally omitted postrm. Include it
there as well to restore the old behavior.
Diffstat (limited to 'eclass/kde5.eclass')
| -rw-r--r-- | eclass/kde5.eclass | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass index 59fe12b9de9..9870e73a2f5 100644 --- a/eclass/kde5.eclass +++ b/eclass/kde5.eclass @@ -733,7 +733,9 @@ kde5_pkg_postinst() { kde5_pkg_postrm() { debug-print-function ${FUNCNAME} "$@" - gnome2_icon_cache_update + if [[ -n ${GNOME2_ECLASS_ICONS} ]]; then + gnome2_icon_cache_update + fi xdg_pkg_postrm } |
