aboutsummaryrefslogtreecommitdiff
path: root/linaro-hwpack-install
diff options
context:
space:
mode:
Diffstat (limited to 'linaro-hwpack-install')
-rwxr-xr-xlinaro-hwpack-install2
1 files changed, 1 insertions, 1 deletions
diff --git a/linaro-hwpack-install b/linaro-hwpack-install
index 56ffff0..5d1daf4 100755
--- a/linaro-hwpack-install
+++ b/linaro-hwpack-install
@@ -196,7 +196,7 @@ for filename in $(ls "${HWPACK_DIR}"/sources.list.d/); do
while read line; do
# Only install files that have at least one line not present in the
# existing sources lists.
- grep -qF "$line" /etc/apt/sources.list.d/* /etc/apt/sources.list \
+ grep -qF "$line" $(find /etc/apt/sources.list.d/ -name '*.list') /etc/apt/sources.list \
|| should_install=1
done < $stripped_file