-
Notifications
You must be signed in to change notification settings - Fork 4
/
install
executable file
·57 lines (48 loc) · 1.61 KB
/
install
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
#!/usr/bin/env bash
SCRIPT_ROOT="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
INIT_PATH="${SCRIPT_ROOT}/init"
for file in `\ls "${INIT_PATH}"`; do
source "${INIT_PATH}/${file}"
done
HELPER_PATH="${SCRIPT_ROOT}/helpers"
for file in `\ls "${HELPER_PATH}"`; do
source "${HELPER_PATH}/${file}"
done
# install packages available in default archive
for i in "${packagesDefault[@]}"; do install-package $i; done
# install packages from 3rd party archives
for i in "${ppas[@]}"; do add-repo $i; done
update
for i in "${packages[@]}"; do install-package $i; done
# install packages from 3rd party loki archives
if [[ `lsb_release -cs` = "loki" ]]; then
for i in "${loki_ppas[@]}"; do add-repo $i; done
update
for i in "${loki_packages[@]}"; do install-package $i; done
fi
# execute custom installation scripts
RECIPES_PATH="${SCRIPT_ROOT}/recipes"
source "${RECIPES_PATH}/virtualbox-5.sh"
source "${RECIPES_PATH}/vagrant.sh"
source "${RECIPES_PATH}/docker.sh"
source "${RECIPES_PATH}/docker-compose.sh"
source "${RECIPES_PATH}/pyenv.sh"
source "${RECIPES_PATH}/rbenv.sh"
source "${RECIPES_PATH}/exenv.sh"
source "${RECIPES_PATH}/goenv.sh"
source "${RECIPES_PATH}/nodenv.sh"
source "${RECIPES_PATH}/crenv.sh"
source "${RECIPES_PATH}/zsh.sh"
source "${RECIPES_PATH}/neovim.sh"
source "${RECIPES_PATH}/add-getdeb-repo.sh"
source "${RECIPES_PATH}/google-apps.sh"
# update, upgrade, clean
update
upgrade
clean
echo
echo "###############################################"
echo "# to install nvidia drivers execute: #"
echo "# $ bash customs/nvidia.sh #"
echo "###############################################"
echo