For the first install of gtk-update-icon-cache, there's no
way to initialize state during preinst, so we have to ignore
this package in order to avoid false positives.

Bug: https://bugs.gentoo.org/649464
---
 bin/postinst-qa-check.d/50gnome2-utils | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/bin/postinst-qa-check.d/50gnome2-utils 
b/bin/postinst-qa-check.d/50gnome2-utils
index dacc19a43..a50df009a 100644
--- a/bin/postinst-qa-check.d/50gnome2-utils
+++ b/bin/postinst-qa-check.d/50gnome2-utils
@@ -39,6 +39,9 @@ gnome2_icon_cache_check() {
        # parallel-install makes it impossible to blame a specific package
        has parallel-install ${FEATURES} && return
 
+       # avoid false-positives on first install (bug 649464)
+       [[ ${PN} == gtk-update-icon-cache ]] && return
+
        # The eqatag call is prohibitively expensive if the cache is
        # missing and there are a large number of files.
        if [[ -z ${missing} && ${all_files[@]} ]]; then
-- 
2.13.6


Reply via email to