-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathflight-flavour.sh
107 lines (89 loc) · 2.05 KB
/
flight-flavour.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
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
#!/bin/bash
source check-list.sh
source ingredient-list.sh
macos_flavour() {
printf "${YELLOW} -->${LIGHT_BLUE} Preflight Checks for Mac OS systems ${YELLOW}<--${NC}\n"
verify_proxies_setup
internet_connection
deduplicate PATH
verify_bash_files_existence
verify_homebrew_setup
verify_git_setup
verify_wget_setup
verify_jenv_setup_macos
verify_java_setup
verify_maven_setup
verify_gradle_setup
verify_miniconda_setup
verify_python_setup
verify_rbenv_setup
verify_ruby_setup
verify_bundler_setup
verify_gem_setup
verify_rails_setup
verify_rust_setup
verify_vim_setup
improve_vim
verify_docker_setup
verify_vagrant_setup
verify_chef_setup
verify_smcfancontrol_setup
verify_iterm_setup
verify_adshell_setup
}
linux_flavour() {
printf "${YELLOW} -->${LIGHT_BLUE} Preflight Checks for Linux systems ${YELLOW}<--${NC}\n"
verify_proxies_setup
internet_connection
deduplicate PATH
verify_bash_files_existence
verify_git_setup
verify_wget_setup
verify_jenv_setup_linux_redhat
verify_java_setup
verify_maven_setup
verify_gradle_setup
verify_miniconda_setup
verify_python_setup
verify_rbenv_setup
verify_ruby_setup
verify_bundler_setup
verify_gem_setup
verify_rails_setup
verify_rust_setup
verify_vim_setup
improve_vim
verify_docker_setup
verify_vagrant_setup
verify_chef_setup
verify_adshell_setup
source_bash_file_linux
}
redhat_flavour() {
printf "${YELLOW} -->${LIGHT_BLUE} Preflight Checks for Redhat systems ${YELLOW}<--${NC}\n"
verify_proxies_setup
internet_connection
deduplicate PATH
verify_bash_files_existence
verify_git_setup
verify_wget_setup
verify_jenv_setup_linux_redhat
verify_java_setup
verify_maven_setup
verify_gradle_setup
verify_miniconda_setup
verify_python_setup
verify_rbenv_setup
verify_ruby_setup
verify_bundler_setup
verify_gem_setup
verify_rails_setup
verify_rust_setup
verify_vim_setup
improve_vim
verify_docker_setup
verify_vagrant_setup
verify_chef_setup
verify_adshell_setup
source_bash_file_redhat
}