984 Commits

Author SHA1 Message Date
Mike McQuaid
393ee6453e Merge pull request #643 from pcastellazzi/pc-gh-637
Fix install.sh failure when the umask is not 0022
2022-04-28 13:59:53 +01:00
Pablo Castellazzi
4d5a87dfb4 apply Mike McQuaid suggestions 2022-04-26 17:46:36 -03:00
Pablo Castellazzi
3906fc7f0a enable running workflows manually 2022-04-25 18:38:07 -03:00
Pablo Castellazzi
dcb4117797 GH#637 install.sh fail when the umask is not 0022
HOMEBREW_PREFIX was created using mkdir -p which respects the user
umask, even when using sudo causing the wrong permissions to be set
when installing into /home/linuxbrew.

This fixes the issue by replacing mkdir with install creating the
missing parents with the specified permissions. To make it work on
linux and macos remember to only use single letter flags.
2022-04-25 18:14:26 -03:00
Rylan Polster
43864d6be7 Merge pull request #635 from Homebrew/sync-triage-config
Synchronize triage configuration
2022-04-12 13:09:45 -04:00
BrewTestBot
eec0e28323 triage-issues.yml: update to match main configuration 2022-04-12 16:11:25 +00:00
Mike McQuaid
ded4a85ac2 Merge pull request #629 from wrp/wrp/stderr
Print error messages to stderr
2022-03-31 17:31:58 +01:00
William Pursell
b199955112 Print error messages to stderr 2022-03-31 11:56:33 -04:00
Mike McQuaid
fdd70fc970 Merge pull request #628 from kidonng/HOMEBREW_INSTALL_FROM_API
Respect `$HOMEBREW_INSTALL_FROM_API` in install script
2022-03-24 11:58:13 +00:00
Kid
dd700cbe61 Disable style check to be consistent with other messages 2022-03-24 17:43:22 +08:00
Kid
9a1e03c884 Remove unnecessary addition 2022-03-24 09:22:56 +00:00
Kid
a4b37eac36 Respect $HOMEBREW_INSTALL_FROM_API in install script 2022-03-24 05:50:38 +00:00
Mike McQuaid
a64608bec0 Merge pull request #626 from Homebrew/return-or-enter
install.sh: ask return or enter.
2022-03-21 15:03:28 +00:00
Mike McQuaid
f4cd0498d9 install.sh: ask return or enter.
Fixes https://github.com/Homebrew/install/issues/625
2022-03-21 14:40:35 +00:00
Mike McQuaid
4c1d9bbd97 Merge pull request #627 from Homebrew/remove-non-default-remotes-test
workflows/tests: remove non-default workflows tests.
2022-03-21 14:32:44 +00:00
Mike McQuaid
9c022871ec workflows/tests: remove non-default workflows tests.
Now that `git://` is disabled on GitHub: this test no longer works.
2022-03-21 13:35:53 +00:00
Mike McQuaid
e811464074 Merge pull request #615 from andreineculau/patch-3
always remove command line tools placeholder
2022-01-31 08:50:32 +00:00
Andrei Neculau
86535eeffe always remove command line tools placeholder 2022-01-29 20:25:05 +01:00
Mike McQuaid
458c3d2834 Merge pull request #614 from XuehaiPan/force-interactive
Add force-interactive mode and document variable `NONINTERACTIVE`
2022-01-26 16:00:03 +00:00
Xuehai Pan
9f1570fbd0 README: fix typo
Co-authored-by: Carlo Cabrera <30379873+carlocab@users.noreply.github.com>
2022-01-26 23:39:16 +08:00
Xuehai Pan
33300ef8b3 README: add description for variable NONINTERACTIVE 2022-01-26 23:24:07 +08:00
Xuehai Pan
e393a17728 install.sh: add variable INTERACTIVE for force-interactive mode 2022-01-26 23:10:32 +08:00
Mike McQuaid
abe5c4fe83 Merge pull request #608 from andreineculau/patch-2
install.sh: correct detection of arm64 on Linux
2022-01-04 08:44:21 +00:00
Andrei Neculau
73a69b8adc install.sh: correct detection of arm64 on Linux
'uname -m' returns aarch64, not arm64

ref: https://github.com/Homebrew/install/pull/518
ref: 0d46eb17cf
2022-01-03 21:06:59 +01:00
Mike McQuaid
2252546b0b Merge pull request #594 from XuehaiPan/command-as-array
Refactor: command as array
2021-11-10 10:17:22 +00:00
XuehaiPan
12edd74ad6 workflows/tests: check Bash 3.x syntax 2021-11-10 17:17:23 +08:00
XuehaiPan
2f174b92fd uninstall.sh: sync functions for sudo-check from install.sh 2021-11-10 14:43:14 +08:00
XuehaiPan
13b2d49281 install.sh: use arrays to store command lists 2021-11-10 14:43:11 +08:00
Mike McQuaid
8d46165bac Merge pull request #592 from EricFromCanada/master
install.sh: wording maintenance
2021-11-09 19:38:13 +00:00
EricFromCanada
260b3a9385 adjust formatting 2021-11-09 13:50:31 -05:00
EricFromCanada
1afff12c7d improve grammar 2021-11-09 13:50:31 -05:00
EricFromCanada
83712d95d6 drop IRC reference 2021-11-09 13:43:45 -05:00
Mike McQuaid
f6a1c68f36 Merge pull request #593 from XuehaiPan/shellcheck-fix
shellcheck: disable unneeded check SC2312
2021-11-09 14:54:50 +00:00
XuehaiPan
dac2110190 shellcheck: disable unneeded check SC2312 2021-11-09 14:46:15 +08:00
Bo Anderson
cc7fe005e7 Merge pull request #587 from Bo98/monterey
install.sh: support macOS Monterey
2021-10-21 22:14:10 +01:00
Mike McQuaid
ae3315ada5 Merge pull request #588 from Bo98/linuxbrew-core
Remove linuxbrew-core references
2021-10-21 14:56:46 +01:00
Bo Anderson
bfc00d9380 Remove linuxbrew-core references 2021-10-21 14:38:48 +01:00
Bo Anderson
cc459e4c03 install.sh: support macOS Monterey 2021-10-20 16:25:52 +01:00
Mike McQuaid
6f681f230c Merge pull request #571 from iMichka/core
install.sh: use homebrew-core as default remote for Linux
2021-10-19 09:35:42 +01:00
Mike McQuaid
d279b8ac2c Merge pull request #584 from Homebrew/sync-triage-config
Synchronize triage configuration
2021-09-29 12:32:53 +01:00
BrewTestBot
8d5686576c triage-issues.yml: update to match main configuration 2021-09-28 16:29:23 +00:00
Mike McQuaid
61d52a870b Merge pull request #583 from XuehaiPan/master
install.sh: fail on insufficient permissions in non-interactive mode
2021-09-28 08:35:28 +01:00
XuehaiPan
d37f5dd1a8 install.sh: fail on insufficient permissions in non-interactive mode 2021-09-27 21:51:26 +08:00
XuehaiPan
9c78479249 workflows/tests: remove tests for user-wised Linuxbrew 2021-09-27 21:51:09 +08:00
XuehaiPan
658d01eb82 uninstall.sh: remove remaining auxiliary files 2021-09-27 21:49:25 +08:00
XuehaiPan
50399c24de workflows/tests: update tests for user-wised Linuxbrew 2021-09-27 21:49:25 +08:00
XuehaiPan
23cdb283d6 install.sh: allow to install Linuxbrew to user home in non-interactive mode 2021-09-27 21:49:25 +08:00
Mike McQuaid
f3dcfbcfdc Merge pull request #581 from BMDan/patch-1
fix: correct overzealous quoting in install.sh
2021-09-17 14:49:10 +01:00
Dan Reif
84b422b277 fix: correct overzealous quoting in install.sh
The `$STAT` variable was quoted in #577 , causing errors like:

```
/bin/bash: line 265: stat -f: command not found
/bin/bash: line 265: stat -f: command not found
/bin/bash: line 277: stat -f: command not found
/bin/bash: line 285: stat -f: command not found
/bin/bash: line 277: stat -f: command not found
/bin/bash: line 285: stat -f: command not found
```
2021-09-16 17:17:21 -07:00
Mike McQuaid
9eca6c27ff Merge pull request #579 from XuehaiPan/master
tests: check code style in CI tests
2021-09-16 17:31:23 +01:00