Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #This script installs homebrew and installed the packages we need.
- #It also applies some security settings
- # Installs Homebrew
- if test ! $(which brew); then
- echo "Installing homebrew..."
- ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
- fi
- echo "Installing cask..."
- brew install caskroom/cask/brew-cask
- CASKS=(
- adobe-acrobat-reader
- google-chrome
- java
- skype
- slack
- )
- echo "Installing cask apps..."
- brew cask install ${CASKS[@]}
- echo "Applying lockscreen settings..."
- defaults write com.apple.screensaver askForPassword -int 1
- defaults write com.apple.screensaver askForPasswordDelay -int 0
- echo "Complete :)"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement