984 Commits

Author SHA1 Message Date
Aaron
4d6ff28b79 Simplify control flow 2023-02-22 18:52:51 +00:00
Aaron
768135b1e5 Change wording of message 2023-02-22 10:12:35 -08:00
Aaron
87508909d8 Merge branch 'Homebrew:master' into append-to-shell-profile 2023-02-22 08:47:18 -08:00
Aaron
ece55f2fb1 Print nothing if brew is already set up in PATH 2023-02-22 16:33:46 +00:00
Mike McQuaid
52f57e482b Merge pull request #745 from UnrealApex/UnrealApex-patch-1
Make sentence more clear
2023-02-22 12:35:05 +00:00
Aaron
fdcab05125 Fix sentence structure 2023-02-21 21:47:48 -08:00
Aaron
434d8208db Merge branch 'Homebrew:master' into append-to-shell-profile 2023-02-21 08:33:32 -08:00
Aaron
445cdacf5c Fix formatting 2023-02-21 16:28:32 +00:00
Aaron
fe627df849 Update comment 2023-02-21 01:40:45 -08:00
Aaron
3e30f8ff53 Added additional missing --no-messages flag 2023-02-20 18:06:20 -08:00
Aaron
e3656dfe8e Simpler stdout and stderr redirection
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2023-02-20 17:59:34 -08:00
Mike McQuaid
be64fe4236 Merge pull request #744 from Homebrew/dependabot/github_actions/Vampire/setup-wsl-2.0.1
build(deps): bump Vampire/setup-wsl from 2.0.0 to 2.0.1
2023-02-20 14:34:54 +00:00
dependabot[bot]
ad6ce9d4e1 build(deps): bump Vampire/setup-wsl from 2.0.0 to 2.0.1
Bumps [Vampire/setup-wsl](https://github.com/Vampire/setup-wsl) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/Vampire/setup-wsl/releases)
- [Commits](9cf1811ad0...188b420ddc)

---
updated-dependencies:
- dependency-name: Vampire/setup-wsl
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-20 11:01:07 +00:00
Aaron
2c0ba28f05 Merge branch 'append-to-shell-profile' of https://github.com/UnrealApex/install into append-to-shell-profile 2023-02-20 10:54:21 +00:00
Aaron
25bbd886a2 Check if brew is already running in current shell environment 2023-02-20 10:52:13 +00:00
Aaron
f9e39e5e44 Remove extra line 2023-02-20 00:22:17 -08:00
Aaron
3f32b4e547 Readd silent flag 2023-02-20 00:20:22 -08:00
Aaron
4d3936f7b3 Show different instructions if user already has Homebrew in their path 2023-02-20 08:17:37 +00:00
Aaron
a0f52831f7 Use full flags instead of their shorthands 2023-02-19 09:42:29 -08:00
Aaron
876891144b Check if Homebrew path evaluation statement is already in shell profile 2023-02-19 09:26:11 -08:00
Mike McQuaid
726224d501 Merge pull request #728 from MikeMcQuaid/install_uninstall_delete
{,un}install: delete.
2023-02-16 08:42:52 +00:00
Mike McQuaid
f1df209948 Merge pull request #732 from MikeMcQuaid/install_from_api_default
Use HOMEBREW_INSTALL_FROM_API by default
2023-02-16 08:42:22 +00:00
Mike McQuaid
fc4a19b386 Merge pull request #727 from gromgit/always-shellenv
install.sh: always recommend `brew shellenv`
2023-02-09 12:34:40 +00:00
Mike McQuaid
ef9cc4607b install.sh: fix variable name.
Co-authored-by: Nanda H Krishna <me@nandahkrishna.com>
2023-02-07 09:22:04 +01:00
Mike McQuaid
aaf4c10366 Use HOMEBREW_INSTALL_FROM_API by default
Now that this is the default, tweak the logic and messaging.
2023-02-06 22:16:12 +01:00
Mike McQuaid
330d4619b0 {,un}install: delete.
These have been disabled for long enough that they can be removed on
Homebrew's next major/minor release.
2023-02-03 10:54:34 +00:00
Mike McQuaid
ed92ba6898 Merge pull request #734 from Homebrew/dependabot/github_actions/Vampire/setup-wsl-2.0.0
build(deps): bump Vampire/setup-wsl from 1.3.4 to 2.0.0
2023-01-31 12:04:04 +00:00
dependabot[bot]
2831d1ee30 build(deps): bump Vampire/setup-wsl from 1.3.4 to 2.0.0
Bumps [Vampire/setup-wsl](https://github.com/Vampire/setup-wsl) from 1.3.4 to 2.0.0.
- [Release notes](https://github.com/Vampire/setup-wsl/releases)
- [Commits](230f54c1aa...9cf1811ad0)

---
updated-dependencies:
- dependency-name: Vampire/setup-wsl
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-30 10:08:59 +00:00
Mike McQuaid
dd8e40fb98 Merge pull request #729 from MikeMcQuaid/homebrew_no_install_from_api
install.sh: support `HOMEBREW_NO_INSTALL_FROM_API`.
2023-01-18 14:58:31 +00:00
Mike McQuaid
6b1f221b0a install.sh: support HOMEBREW_NO_INSTALL_FROM_API.
Follow-up from https://github.com/Homebrew/brew/pull/14375.

We'll keep this around after `HOMEBREW_INSTALL_FROM_API` is default.
2023-01-18 14:04:04 +00:00
Adrian Ho
012d4f8632 install.sh: always recommend brew shellenv
Currently, Intel macOS installs almost certainly *don't* recommend
`brew shellenv`, because `/usr/local` is in `PATH` by default.

Since `brew shellenv` is designed to be idempotent, and it sets
environment variables like `INFOPATH` which can affect Homebrew
operations in unexpected ways (e.g. https://github.com/Homebrew/brew/issues/14356#issuecomment-1380557154),
I think `brew shellenv` should *always* be recommended.

Closes https://github.com/Homebrew/brew/issues/14362.

Also fix the "no trailing newline in profile" case by adding our own.
2023-01-16 20:57:56 +08:00
Mike McQuaid
bcc0e9c0ac Merge pull request #725 from n8henrie/issue_724
Support optional space after `-p` / `--path`
2023-01-12 09:29:54 +00:00
Nathan Henrie
de786ec51c Support optional space after -p / --path
Fixes https://github.com/Homebrew/install/issues/724
2023-01-10 10:31:06 -07:00
Rylan Polster
a8c26acd44 Merge pull request #721 from Homebrew/sync-triage-config
Synchronize triage configuration
2022-12-27 00:47:05 -05:00
BrewTestBot
cf3c51a0e6 triage-issues.yml: update to match main configuration 2022-12-27 05:25:11 +00:00
Sean Molenaar
3e7999a7fb Merge pull request #717 from Homebrew/sync-triage-config
Synchronize triage configuration
2022-12-05 11:31:12 +01:00
BrewTestBot
f39293fefe triage-issues.yml: update to match main configuration 2022-12-05 10:01:58 +00:00
Mike McQuaid
87dc6a48f6 Merge pull request #712 from dirname/master
install.sh: fix "printf: - : invalid option" & format
2022-11-16 16:29:45 +00:00
Mikey
152b0ac978 fix: printf: - : invalid option 2022-11-16 22:46:51 +08:00
Mike McQuaid
6840320613 Merge pull request #709 from Homebrew/dev-tools
Do not use sudo for GUI installation of Dev Tools
2022-11-14 14:13:41 +00:00
Mike McQuaid
db3033e375 Merge pull request #711 from Homebrew/dependabot/github_actions/Vampire/setup-wsl-1.3.4
build(deps): bump Vampire/setup-wsl from 1.3.3 to 1.3.4
2022-11-14 13:14:26 +00:00
Mike McQuaid
8b6f05d083 workflows/tests: use newer Ubuntu for WSL. 2022-11-14 12:51:12 +00:00
dependabot[bot]
9a7e84a497 build(deps): bump Vampire/setup-wsl from 1.3.3 to 1.3.4
Bumps [Vampire/setup-wsl](https://github.com/Vampire/setup-wsl) from 1.3.3 to 1.3.4.
- [Release notes](https://github.com/Vampire/setup-wsl/releases)
- [Commits](e0ac0aabb8...230f54c1aa)

---
updated-dependencies:
- dependency-name: Vampire/setup-wsl
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-14 10:04:42 +00:00
Vítor Galvão
d6a2ead474 Do not use sudo for GUI installation of Dev Tools 2022-11-10 13:40:57 +00:00
Mike McQuaid
c2eb2f6254 Merge pull request #707 from Homebrew/dependabot/github_actions/Vampire/setup-wsl-1.3.3
build(deps): bump Vampire/setup-wsl from 1.3.2 to 1.3.3
2022-11-07 13:03:05 +00:00
dependabot[bot]
22b487a8e5 build(deps): bump Vampire/setup-wsl from 1.3.2 to 1.3.3
Bumps [Vampire/setup-wsl](https://github.com/Vampire/setup-wsl) from 1.3.2 to 1.3.3.
- [Release notes](https://github.com/Vampire/setup-wsl/releases)
- [Commits](8a65751d97...e0ac0aabb8)

---
updated-dependencies:
- dependency-name: Vampire/setup-wsl
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-07 10:03:34 +00:00
Issy Long
2e0a2694fe Merge pull request #706 from issyl0/fix-broken-link
install.sh: Fix broken docs link for ARM Linux
2022-10-30 14:47:04 +00:00
Issy Long
aa6ee5f772 install.sh: Fix broken docs link for ARM Linux
- I find it a little misleading that we say "alternate installation methods" but the "ARM unsupported" docs page doesn't refer the user to those.
2022-10-30 00:09:51 +01:00
Mike McQuaid
4ec09b164f Merge pull request #705 from fxcoudert/ventura
install.sh: support macOS Ventura
2022-10-25 13:56:08 +01:00
Mike McQuaid
500bae7d47 Merge pull request #702 from MikeMcQuaid/linux_default_prefix
install: only support default prefix on Linux.
2022-10-20 12:09:06 +01:00