aboutsummaryrefslogtreecommitdiff
path: root/linaro-hwpack-install
diff options
context:
space:
mode:
authorJames Tunnicliffe <james.tunnicliffe@linaro.org>2012-07-19 18:57:24 +0100
committerJames Tunnicliffe <james.tunnicliffe@linaro.org>2012-07-19 18:57:24 +0100
commitd198ea9a210b0613ebd2becfb0929e6fff788bf8 (patch)
tree30f67f0ac2aa6cb480c24d0c7f6e6da104b3d679 /linaro-hwpack-install
parent671f3759cf92acd34f685c9012fdb0698d4e66fc (diff)
parent16b1a6213ff17058fe752e1a8e6743c7ddd8c7b3 (diff)
Merge from trunk
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