1 |
commit: c2636e6802fb4eb173b2da54d278322cb8edb5e5 |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Oct 2 17:25:25 2017 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Oct 2 17:26:01 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=c2636e68 |
7 |
|
8 |
postinst-qa-check.d/50xdg-utils: local all_files (bug 632696) |
9 |
|
10 |
Fixes: c4edb9ca3a6c ("postinst-qa-check.d: fix [[ ${files[@]} ]] logic in for loops") |
11 |
X-Gentoo-bug: 632696 |
12 |
X-Gentoo-bug-url: https://bugs.gentoo.org/632696 |
13 |
|
14 |
bin/postinst-qa-check.d/50xdg-utils | 4 ++-- |
15 |
1 file changed, 2 insertions(+), 2 deletions(-) |
16 |
|
17 |
diff --git a/bin/postinst-qa-check.d/50xdg-utils b/bin/postinst-qa-check.d/50xdg-utils |
18 |
index 9f5ae7cb9..d1285caf4 100644 |
19 |
--- a/bin/postinst-qa-check.d/50xdg-utils |
20 |
+++ b/bin/postinst-qa-check.d/50xdg-utils |
21 |
@@ -3,7 +3,7 @@ |
22 |
xdg_desktop_database_check() { |
23 |
type -P update-desktop-database &>/dev/null || return |
24 |
|
25 |
- local d f missing |
26 |
+ local d f all_files=() missing |
27 |
for d in usr/share/applications; do |
28 |
[[ -d ${d} ]] || continue |
29 |
|
30 |
@@ -43,7 +43,7 @@ xdg_desktop_database_check() { |
31 |
xdg_mimeinfo_database_check() { |
32 |
type -P update-mime-database &>/dev/null || return |
33 |
|
34 |
- local d f missing |
35 |
+ local d f all_files=() missing |
36 |
for d in usr/share/mime; do |
37 |
[[ -d ${d} ]] || continue |