-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstallers.sh
More file actions
executable file
·123 lines (103 loc) · 2.31 KB
/
installers.sh
File metadata and controls
executable file
·123 lines (103 loc) · 2.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
#!/bin/bash
set -e
fetch(){
echo "Fetching $1"
curl -O $2
}
# TODO: Move to a '.bash_functions' file that can be sourced in '.bash_profile'
append-to-file() {
LINE=$1
FILE=$2
echo "Appending '$LINE' to '$FILE'"
grep -q "$LINE" "$FILE" || echo "$LINE" | sudo tee -a "$FILE"
}
echo "Homebrew installs"
# Optional Dependencies
brew install \
gettext \
readline \
pcre \
;
# Normal Homebrew
brew install \
android-platform-tools \
android-sdk \
httpie \
jenv \
rbenv \
nvm \
postgresql \
postgis \
pyenv \
zsh \
;
# Homebrew casks
brew cask install \
alfred \
android-file-transfer \
appcleaner \
atom \
caffeine \
clipmenu \
dash \
disk-inventory-x \
docker \
evernote \
firefox \
google-chrome \
gpgtools \
java \
keka \
kindle \
intellij-idea \
iterm2 \
jdownloader \
lastpass \
name-mangler \
Caskroom/cask/pgadmin4 \
picasa \
progressive-downloader \
screenhero \
skype \
slack \
sourcetree \
spectacle \
steam \
telegram \
thunderbird \
vagrant \
virtualbox \
vlc \
;
# git-redate https://github.com/PotatoLabs/git-redate
brew tap PotatoLabs/homebrew-git-redate
brew install git-redate
# Homebrew Casks Installs requiring password
brew cask install \
avast \
libreoffice \
odrive \
;
# Homebrew extensions
brew tap rafaelgarrido/homebrew-caveats && brew install brew-caveats
mkdir -p ~/Downloads/Installers
# Create links for manual installs
ln -sf '/usr/local/Caskroom/lastpass/latest/LastPass Installer.app' ~/Downloads/Installers/
ln -sf `pwd`/ManualDownloads.html ~/Downloads/Installers/
cd ~/Downloads/Installers
# fetch 'EncFS for MacFusion 2' http://t-haeberle.com/encfs/EncFS%20for%20Macfusion2.dmg
TEXT_NORMAL=$(tput setaf 0)
TEXT_HEADER=$(tput setaf 4)
TEXT_ITEMS=$(tput setaf 5)
cat <<EOF
${TEXT_HEADER}
----------
Next Steps
----------
${TEXT_ITEMS}
1. Review homebrew caveats to find extra instructions you might want to complete
${TEXT_NORMAL}- 'brew list -1 | xargs brew caveats'${TEXT_ITEMS}
2. Manually execute installers at 'open ~/Downloads/Installers/'
3. Manually download and execute installers at 'open ~/Downloads/Installers/ManualDownloads.html'
EOF
echo -e "\033[32mDone\033[0m"