Advertisement
Guest User

Untitled

a guest
Feb 8th, 2016
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. set -e
  4. set -x
  5.  
  6. if [[ "$PATH" =~ (^|:)/usr/local/opt/coreutils/libexec/gnubin(:|$) ]] ; then
  7. PATH=$( python -c 'import os;print(os.pathsep.join([x for x in os.environ["PATH"].split(os.pathsep) if x != "/usr/local/opt/go/libexec/bin"]))' )
  8. fi
  9.  
  10. brew update
  11. brew upgrade --all
  12. brew cleanup
  13. brew doctor
  14.  
  15. gem update
  16. gem cleanup -v
  17. rbenv rehash
  18.  
  19. for pip in pip3 pip2 ; do
  20. $pip list --outdated | cut -d' ' -f1 | xargs -n 1 $pip install -U
  21. done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement