commit:     743bedc636671e1307735e82e49b0488f1433809
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 20 04:24:56 2017 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Wed Sep 20 04:26:33 2017 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=743bedc6

gnome2-utils postinst: fix ${missing} variable reference

Fixes: 361f820b88de ("postinst-qa-check.d: fix false positive and expensive 
eqatag on first run")

 bin/postinst-qa-check.d/50gnome2-utils | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/postinst-qa-check.d/50gnome2-utils 
b/bin/postinst-qa-check.d/50gnome2-utils
index eb045ea78..7ee8f2528 100644
--- a/bin/postinst-qa-check.d/50gnome2-utils
+++ b/bin/postinst-qa-check.d/50gnome2-utils
@@ -35,7 +35,7 @@ gnome2_icon_cache_check() {
 
        # 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
+       if [[ -z ${missing} && ${all_files[@]} ]]; then
                eqawarn "QA Notice: new icons were found installed but GTK+ 
icon cache"
                eqawarn "has not been updated:"
                eqatag -v gnome2-utils.icon-cache "${all_files[@]/#//}"

Reply via email to