From: "Zac Medico" <zmedico@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/portage:master commit in: bin/postinst-qa-check.d/
Date: Fri, 16 Mar 2018 09:27:19 +0000 (UTC) [thread overview]
Message-ID: <1521192383.0d75a363355ad7b19e4f7ddbfa62e600c75f42ce.zmedico@gentoo> (raw)
commit: 0d75a363355ad7b19e4f7ddbfa62e600c75f42ce
Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 4 19:02:52 2018 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Fri Mar 16 09:26:23 2018 +0000
URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=0d75a363
gnome2-utils postinst: fix false positive for gtk-update-icon-cache (bug 649464)
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
next reply other threads:[~2018-03-16 9:27 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-16 9:27 Zac Medico [this message]
-- strict thread matches above, loose matches on Subject: below --
2019-02-12 23:38 [gentoo-commits] proj/portage:master commit in: bin/postinst-qa-check.d/ Zac Medico
2019-02-12 23:38 Zac Medico
2017-10-27 19:11 Zac Medico
2017-10-02 17:28 Zac Medico
2017-10-02 16:56 Michał Górny
2017-09-20 18:14 Zac Medico
2017-09-20 4:28 Zac Medico
2017-09-19 23:38 Zac Medico
2017-09-19 23:38 Zac Medico
2017-08-29 16:38 Michał Górny
2017-08-26 21:16 Michał Górny
2017-08-26 21:16 Michał Górny
2017-08-26 21:16 Michał Górny
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1521192383.0d75a363355ad7b19e4f7ddbfa62e600c75f42ce.zmedico@gentoo \
--to=zmedico@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox