mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2025-03-11 22:45:12 +08:00
11 lines
218 B
Bash
11 lines
218 B
Bash
![]() |
#!/usr/bin/env bash
|
||
|
|
||
|
if [[ "$TRAVIS_OS_NAME" = "linux" ]]; then
|
||
|
sudo add-apt-repository -y ppa:git-core/ppa
|
||
|
sudo apt-get update
|
||
|
sudo apt-get install --only-upgrade -y git
|
||
|
else
|
||
|
brew update
|
||
|
brew install git
|
||
|
fi
|