11 lines
No EOL
262 B
Bash
11 lines
No EOL
262 B
Bash
#!/usr/bin/env bash
|
|
|
|
{%- if grains['kernel'] == 'Darwin' -%}
|
|
update() {
|
|
brew update &&\
|
|
brew upgrade &&\
|
|
brew cask update &&\
|
|
apm update --confirm false &&\
|
|
pip freeze --local | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 pip install -U
|
|
}
|
|
{%- endif -%} |