Advertisement
Guest User

Untitled

a guest
Aug 24th, 2017
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. #This script installs homebrew and installed the packages we need.
  2. #It also applies some security settings
  3.  
  4. # Installs Homebrew
  5. if test ! $(which brew); then
  6. echo "Installing homebrew..."
  7. ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  8. fi
  9.  
  10.  
  11.  
  12. echo "Installing cask..."
  13. brew install caskroom/cask/brew-cask
  14.  
  15. CASKS=(
  16. adobe-acrobat-reader
  17. google-chrome
  18. java
  19. skype
  20. slack
  21.  
  22. )
  23.  
  24. echo "Installing cask apps..."
  25. brew cask install ${CASKS[@]}
  26.  
  27.  
  28. echo "Applying lockscreen settings..."
  29. defaults write com.apple.screensaver askForPassword -int 1
  30. defaults write com.apple.screensaver askForPasswordDelay -int 0
  31.  
  32. echo "Complete :)"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement