mirror of
git://code.qt.io/qt/qt5.git
synced 2026-01-04 22:17:45 +08:00
Task-number: QTBUG-108364
Change-Id: I5b1d53aad917ed38f9e26e1fcc1b97b921c0603a
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
(cherry picked from commit ae21de72f3)
24 lines
784 B
Bash
Executable File
24 lines
784 B
Bash
Executable File
#!/bin/sh
|
|
#Copyright (C) 2023 The Qt Company Ltd
|
|
#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
|
|
|
|
|
# Will install homebrew package manager for macOS.
|
|
# WARNING: Requires commandlinetools
|
|
|
|
|
|
set -e
|
|
|
|
. "$(dirname "$0")"/../../common/unix/DownloadURL.sh
|
|
|
|
|
|
DownloadURL \
|
|
http://ci-files01-hki.intra.qt.io/input/mac/homebrew-install.c744a716f9845988d01e6e238eee7117b8c366c9.rb \
|
|
https://raw.githubusercontent.com/Homebrew/install/c744a716f9845988d01e6e238eee7117b8c366c9/install \
|
|
b9782cc0b550229de77b429b56ffce04157e60486ab9df00461ccf3dad565b0a \
|
|
/tmp/homebrew_install
|
|
/usr/bin/ruby /tmp/homebrew_install </dev/null
|
|
|
|
# No need to manually do `brew update`, the homebrew installer script does it.
|
|
### brew update
|