Update .local/bin/provision
This commit is contained in:
parent
4e909c6bd7
commit
0fef8df263
1 changed files with 8 additions and 1 deletions
|
@ -150,8 +150,15 @@ ensurePackageManagerHomebrew() {
|
||||||
ensurePackageManagerHomebrew
|
ensurePackageManagerHomebrew
|
||||||
|
|
||||||
### Install installer dependencies via Homebrew
|
### Install installer dependencies via Homebrew
|
||||||
|
installBrewPackage() {
|
||||||
|
if ! command -v "$1" > /dev/null; then
|
||||||
|
brew install "$1"
|
||||||
|
fi
|
||||||
|
}
|
||||||
if command -v brew > /dev/null; then
|
if command -v brew > /dev/null; then
|
||||||
brew install chezmoi go-task/tap/go-task jq node yq zx
|
installBrewPackage chezmoi
|
||||||
|
installBrewPackage node
|
||||||
|
installBrewPackage zx
|
||||||
fi
|
fi
|
||||||
|
|
||||||
### Ensure source files are present
|
### Ensure source files are present
|
||||||
|
|
Loading…
Reference in a new issue