Setup: longer sudo timeout in setup script (kinda).

This commit is contained in:
Artem Sapegin 2013-02-24 23:24:34 +04:00
parent 2571fc7f08
commit d4e7928be9
1 changed files with 6 additions and 0 deletions

View File

@ -21,11 +21,13 @@ echo
# OS X # OS X
header "Updating OS X..." header "Updating OS X..."
sudo -v
sudo softwareupdate -i -a sudo softwareupdate -i -a
echo echo
# Homebrew # Homebrew
header "Updating Homebrew..." header "Updating Homebrew..."
sudo -v
brew update brew update
brew upgrade brew upgrade
brew cleanup brew cleanup
@ -33,22 +35,26 @@ echo
# NPM # NPM
header "Updating NPM..." header "Updating NPM..."
sudo -v
npm update npm -g npm update npm -g
npm update -g npm update -g
echo echo
# Ruby gems # Ruby gems
header "Updating Ruby gems..." header "Updating Ruby gems..."
sudo -v
sudo gem update sudo gem update
echo echo
# Python # Python
header "Updating Python packages..." header "Updating Python packages..."
sudo -v
sudo pip install --upgrade fabric sudo pip install --upgrade fabric
echo echo
# git-friendly # git-friendly
header "Updating git-friendly..." header "Updating git-friendly..."
sudo -v
sudo bash < <( curl https://raw.github.com/jamiew/git-friendly/master/install.sh) sudo bash < <( curl https://raw.github.com/jamiew/git-friendly/master/install.sh)
echo echo