summaryrefslogtreecommitdiffstats
path: root/build/install-build-deps.sh
diff options
context:
space:
mode:
authorthestig <thestig@chromium.org>2015-03-20 01:06:12 -0700
committerCommit bot <commit-bot@chromium.org>2015-03-20 08:07:07 +0000
commit83d03506fd8642cd9fb66f59104c1c1a5ef0c358 (patch)
treeb896f05a1cd273a3b75d0a5895cdbdffce39484d /build/install-build-deps.sh
parent0de936155933f21f1b8c2a8c9842f0f9c2263041 (diff)
downloadchromium_src-83d03506fd8642cd9fb66f59104c1c1a5ef0c358.zip
chromium_src-83d03506fd8642cd9fb66f59104c1c1a5ef0c358.tar.gz
chromium_src-83d03506fd8642cd9fb66f59104c1c1a5ef0c358.tar.bz2
Linux: Remove support for EOL distros in install-build-deps.sh.
Review URL: https://codereview.chromium.org/1002623005 Cr-Commit-Position: refs/heads/master@{#321533}
Diffstat (limited to 'build/install-build-deps.sh')
-rwxr-xr-xbuild/install-build-deps.sh11
1 files changed, 5 insertions, 6 deletions
diff --git a/build/install-build-deps.sh b/build/install-build-deps.sh
index 2629414..53d9712 100755
--- a/build/install-build-deps.sh
+++ b/build/install-build-deps.sh
@@ -73,11 +73,11 @@ if ! which lsb_release > /dev/null; then
fi
lsb_release=$(lsb_release --codename --short)
-ubuntu_codenames="(precise|quantal|raring|saucy|trusty|utopic)"
+ubuntu_codenames="(precise|trusty|utopic)"
if [ 0 -eq "${do_unsupported-0}" ] && [ 0 -eq "${do_quick_check-0}" ] ; then
if [[ ! $lsb_release =~ $ubuntu_codenames ]]; then
- echo "ERROR: Only Ubuntu 12.04 (precise) through 14.10 (utopic) are"\
- "currently supported" >&2
+ echo "ERROR: Only Ubuntu 12.04 (precise), 14.04 (trusty) and " \
+ "14.10 (utopic) are currently supported" >&2
exit 1
fi
@@ -171,8 +171,7 @@ nacl_list="g++-mingw-w64-i686 lib32z1-dev
# it depends on mesa, and only one version of mesa can exists on the system.
# Hence we must match the same version or this entire script will fail.
mesa_variant=""
-for variant in "-lts-quantal" "-lts-raring" "-lts-saucy" "-lts-trusty" \
- "-lts-utopic"; do
+for variant in "-lts-trusty" "-lts-utopic"; do
if $(dpkg-query -Wf'${Status}' libgl1-mesa-glx${variant} 2>/dev/null | \
grep -q " ok installed"); then
mesa_variant="${variant}"
@@ -357,7 +356,7 @@ if [ 1 -eq "${do_quick_check-0}" ] ; then
fi
if test "$do_inst_lib32" = "1" || test "$do_inst_nacl" = "1"; then
- if [[ ! $lsb_release =~ (precise|quantal|raring) ]]; then
+ if [[ ! $lsb_release =~ (precise) ]]; then
sudo dpkg --add-architecture i386
fi
fi