commit | 9c70eb73a314e3f164b0f4ad6ad9bde679f549a0 | [log] [tgz] |
---|---|---|
author | Tom Anderson <[email protected]> | Mon Nov 27 21:47:38 2017 |
committer | Commit Bot <[email protected]> | Mon Nov 27 21:47:38 2017 |
tree | c2b23db5c8931a669fc6b084b36c2aee70e06376 | |
parent | fcceef5d30a36ed29063cb6782e9f6c6006d5f3a [diff] |
install-build-deps.sh: Fix package_exists package_exists() used to check if the output of 'apt-cache search' was nonempty to check if a package is available for install. But it does not work in some cases. For example, on Debian Testing, libgtk-3-0-dbg is not available, but libgtk-3-0-dbgsym is. This package would show up in the apt-cache output and we would incorrectly determine that libgtk-3-0-dbg was available. Additionally, there can be more than one package that is listed. This CL does a check for the exact package name. BUG=785818 [email protected] Change-Id: Ic81f1c059223e3cec643e116dea26b30c9ac75f1 Reviewed-on: https://chromium-review.googlesource.com/791371 Commit-Queue: Thomas Anderson <[email protected]> Reviewed-by: Dirk Pranke <[email protected]> Cr-Commit-Position: refs/heads/master@{#519415}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .