Message ID | 20120705170019.835.34417.launchpad@ackee.canonical.com |
---|---|
State | Accepted |
Headers | show |
=== modified file 'linaro-hwpack-install' --- linaro-hwpack-install 2012-04-12 11:26:32 +0000 +++ linaro-hwpack-install 2012-07-05 14:44:04 +0000 @@ -138,7 +138,7 @@ 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