| OLD | NEW |
| 1 #!/bin/bash | 1 #!/bin/bash |
| 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 # TODO(mmoss) This currently only works with official builds, since non-official | 7 # TODO(mmoss) This currently only works with official builds, since non-official |
| 8 # builds don't add the "${BUILDDIR}/installer/" files needed for packaging. | 8 # builds don't add the "${BUILDDIR}/installer/" files needed for packaging. |
| 9 | 9 |
| 10 set -e | 10 set -e |
| (...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 332 exit 1 | 332 exit 1 |
| 333 ;; | 333 ;; |
| 334 esac | 334 esac |
| 335 BASEREPOCONFIG="dl.google.com/linux/chrome/deb/ stable main" | 335 BASEREPOCONFIG="dl.google.com/linux/chrome/deb/ stable main" |
| 336 # Only use the default REPOCONFIG if it's unset (e.g. verify_channel might have | 336 # Only use the default REPOCONFIG if it's unset (e.g. verify_channel might have |
| 337 # set it to an empty string) | 337 # set it to an empty string) |
| 338 REPOCONFIG="${REPOCONFIG-deb [arch=${ARCHITECTURE}] http://${BASEREPOCONFIG}}" | 338 REPOCONFIG="${REPOCONFIG-deb [arch=${ARCHITECTURE}] http://${BASEREPOCONFIG}}" |
| 339 # Allowed configs include optional HTTPS support and explicit multiarch | 339 # Allowed configs include optional HTTPS support and explicit multiarch |
| 340 # platforms. | 340 # platforms. |
| 341 REPOCONFIGREGEX="deb (\\\\[arch=[^]]*\\\\b${ARCHITECTURE}\\\\b[^]]*\\\\]" | 341 REPOCONFIGREGEX="deb (\\\\[arch=[^]]*\\\\b${ARCHITECTURE}\\\\b[^]]*\\\\]" |
| 342 REPOCONFIGREGEX+="[[:space:]]*)?https?://${BASEREPOCONFIG}" | 342 REPOCONFIGREGEX+="[[:space:]]*) https?://${BASEREPOCONFIG}" |
| 343 stage_install_debian | 343 stage_install_debian |
| 344 | 344 |
| 345 do_package | 345 do_package |
| OLD | NEW |