-
Notifications
You must be signed in to change notification settings - Fork 57
/
install.sh
executable file
·66 lines (61 loc) · 1.41 KB
/
install.sh
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
#!/bin/sh
# DESCRIPTION
# Executes all OSX setup scripts.
# USAGE
# ./install.sh
# SETTINGS
set -e # Exit if any command returns non-zero.
source settings/settings.sh
# FUNCTIONS
source functions/functions.sh
# EXECUTION
echo ''
while true; do
echo "Options:"
echo " b: Apply basic machine settings."
echo " h: Install Homebrew software."
echo " a: Install application software."
echo " x: Install application extensions (i.e. application enhancements, plug-ins, etc.)"
echo " d: Apply software defaults."
echo " w: Clean work directory."
echo " i: Perform complete install (i.e. basic settings, Homebrew, applications, extensions, defaults, and work directory clean-up)."
echo " c: Check status of installed applications and extensions."
echo " q: Quit/Exit."
echo ''
read -p "Enter selection: " response
case $response in
'b')
scripts/basic.sh
break;;
'h')
scripts/homebrew.sh
break;;
'a')
scripts/applications.sh
break;;
'x')
scripts/extensions.sh
break;;
'd')
scripts/defaults.sh
break;;
'w')
clean_work_path
break;;
'i')
scripts/basic.sh
scripts/homebrew.sh
scripts/applications.sh
scripts/extensions.sh
scripts/defaults.sh
clean_work_path
break;;
'c')
verify_installs
verify_extensions
break;;
'q')
break;;
esac
done
echo ''