Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(65)

Side by Side Diff: build/install-build-deps.sh

Issue 11791020: Add Ubuntu 12.10 to the list of supported versions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/bash -e 1 #!/bin/bash -e
2 2
3 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 3 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 # Script to install everything needed to build chromium (well, ideally, anyway) 7 # Script to install everything needed to build chromium (well, ideally, anyway)
8 # See http://code.google.com/p/chromium/wiki/LinuxBuildInstructions 8 # See http://code.google.com/p/chromium/wiki/LinuxBuildInstructions
9 # and http://code.google.com/p/chromium/wiki/LinuxBuild64Bit 9 # and http://code.google.com/p/chromium/wiki/LinuxBuild64Bit
10 10
(...skipping 18 matching lines...) Expand all
29 --arm) do_inst_arm=1;; 29 --arm) do_inst_arm=1;;
30 --no-arm) do_inst_arm=0;; 30 --no-arm) do_inst_arm=0;;
31 --no-prompt) do_default=1 31 --no-prompt) do_default=1
32 do_quietly="-qq --assume-yes" 32 do_quietly="-qq --assume-yes"
33 ;; 33 ;;
34 *) usage;; 34 *) usage;;
35 esac 35 esac
36 shift 36 shift
37 done 37 done
38 38
39 ubuntu_versions="10\.04|10\.10|11\.04|11\.10|12\.04" 39 ubuntu_versions="10\.04|10\.10|11\.04|11\.10|12\.04|12\.10"
40 ubuntu_codenames="lucid|maverick|natty|oneiric|precise" 40 ubuntu_codenames="lucid|maverick|natty|oneiric|precise|quantal"
41 41
42 if ! egrep -q "Ubuntu ($ubuntu_versions|$ubuntu_codenames)" /etc/issue; then 42 if ! egrep -q "Ubuntu ($ubuntu_versions|$ubuntu_codenames)" /etc/issue; then
43 echo "ERROR: Only Ubuntu 10.04 (lucid) through 12.04 (precise) are currently"\ 43 echo "ERROR: Only Ubuntu 10.04 (lucid) through 12.10 (quantal) are currently"\
44 "supported" >&2 44 "supported" >&2
45 exit 1 45 exit 1
46 fi 46 fi
47 47
48 if ! uname -m | egrep -q "i686|x86_64"; then 48 if ! uname -m | egrep -q "i686|x86_64"; then
49 echo "Only x86 architectures are currently supported" >&2 49 echo "Only x86 architectures are currently supported" >&2
50 exit 50 exit
51 fi 51 fi
52 52
53 if [ "x$(id -u)" != x0 ]; then 53 if [ "x$(id -u)" != x0 ]; then
(...skipping 388 matching lines...) Expand 10 before | Expand all | Expand 10 after
442 sed -e 's/[.]so[.][0-9].*/.so/' | 442 sed -e 's/[.]so[.][0-9].*/.so/' |
443 sort -u); do 443 sort -u); do
444 [ "x${i##*/}" = "xld-linux.so" ] && continue 444 [ "x${i##*/}" = "xld-linux.so" ] && continue
445 [ -r "$i" ] && continue 445 [ -r "$i" ] && continue
446 j="$(ls "$i."* | sed -e 's/.*[.]so[.]\([^.]*\)$/\1/;t;d' | 446 j="$(ls "$i."* | sed -e 's/.*[.]so[.]\([^.]*\)$/\1/;t;d' |
447 sort -n | tail -n 1)" 447 sort -n | tail -n 1)"
448 [ -r "$i.$j" ] || continue 448 [ -r "$i.$j" ] || continue
449 sudo ln -s "${i##*/}.$j" "$i" 449 sudo ln -s "${i##*/}.$j" "$i"
450 done 450 done
451 fi 451 fi
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698