summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2017-10-02 10:25:25 -0700
committerZac Medico <zmedico@gentoo.org>2017-10-02 10:26:01 -0700
commitc2636e6802fb4eb173b2da54d278322cb8edb5e5 (patch)
treefadeb9db3620c77004c17a45f6ab891b4096dd0f
parentpostinst-qa-check.d: Skip checks if required tools are missing (diff)
downloadportage-c2636e6802fb4eb173b2da54d278322cb8edb5e5.tar.gz
portage-c2636e6802fb4eb173b2da54d278322cb8edb5e5.tar.bz2
portage-c2636e6802fb4eb173b2da54d278322cb8edb5e5.zip
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
-rw-r--r--bin/postinst-qa-check.d/50xdg-utils4
1 files 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