11 lines
151 B
Bash
11 lines
151 B
Bash
#!/user/bin/env bash
|
|
# vim:set ft=bash:
|
|
|
|
install_once()
|
|
{
|
|
if brew ls --versions "$1"; then
|
|
brew upgrade "$1"
|
|
else
|
|
brew install "$1"
|
|
fi
|
|
}
|