feat: dir, install changes

This commit is contained in:
2024-03-03 21:06:52 +00:00
parent 3c5b255bcf
commit 25cd4dba5e
24 changed files with 127 additions and 206 deletions

7
script/install.d/02-brew.sh Executable file → Normal file
View File

@@ -7,12 +7,11 @@
if [[ "$OSTYPE" == "darwin"* ]]; then
export NONINTERACTIVE=1
if ! bin_in_path brew; then
download_run https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh /bin/bash
else
brew update
if ! command -v brew &> /dev/null; then
bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
fi
brew update
brew --version
unset NONINTERACTIVE