commit:     c2636e6802fb4eb173b2da54d278322cb8edb5e5
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Mon Oct  2 17:25:25 2017 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Mon Oct  2 17:26:01 2017 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=c2636e68

postinst-qa-check.d/50xdg-utils: local all_files (bug 632696)

Fixes: c4edb9ca3a6c ("postinst-qa-check.d: fix [[ ${files[@]} ]] logic in for 
loops")
X-Gentoo-bug: 632696
X-Gentoo-bug-url: https://bugs.gentoo.org/632696

 bin/postinst-qa-check.d/50xdg-utils | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/postinst-qa-check.d/50xdg-utils 
b/bin/postinst-qa-check.d/50xdg-utils
index 9f5ae7cb9..d1285caf4 100644
--- a/bin/postinst-qa-check.d/50xdg-utils
+++ b/bin/postinst-qa-check.d/50xdg-utils
@@ -3,7 +3,7 @@
 xdg_desktop_database_check() {
        type -P update-desktop-database &>/dev/null || return
 
-       local d f missing
+       local d f all_files=() missing
        for d in usr/share/applications; do
                [[ -d ${d} ]] || continue
 
@@ -43,7 +43,7 @@ xdg_desktop_database_check() {
 xdg_mimeinfo_database_check() {
        type -P update-mime-database &>/dev/null || return
 
-       local d f missing
+       local d f all_files=() missing
        for d in usr/share/mime; do
                [[ -d ${d} ]] || continue
 

Reply via email to