make some fixes for macos
This commit is contained in:
@@ -1,9 +1,9 @@
|
|||||||
[credential "https://github.com"]
|
[credential "https://github.com"]
|
||||||
helper =
|
helper =
|
||||||
helper = !~/.webman/bin/gh auth git-credential
|
helper = !gh auth git-credential
|
||||||
[credential "https://gist.github.com"]
|
[credential "https://gist.github.com"]
|
||||||
helper =
|
helper =
|
||||||
helper = !~/.webman/bin/gh auth git-credential
|
helper = !gh auth git-credential
|
||||||
|
|
||||||
[user]
|
[user]
|
||||||
email = {{ .email | quote }}
|
email = {{ .email | quote }}
|
||||||
|
|||||||
@@ -31,6 +31,8 @@ echo "macOS detected"
|
|||||||
|
|
||||||
if test -x /usr/local/bin/brew; then
|
if test -x /usr/local/bin/brew; then
|
||||||
echo "Homebrew already installed"
|
echo "Homebrew already installed"
|
||||||
|
elif test -x /opt/homebrew/bin/brew; then
|
||||||
|
echo "Homebrew already installed"
|
||||||
else
|
else
|
||||||
echo "\n[-] Installing Homebrew [-]"
|
echo "\n[-] Installing Homebrew [-]"
|
||||||
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
||||||
|
|||||||
Reference in New Issue
Block a user