-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.sh
executable file
·37 lines (27 loc) · 899 Bytes
/
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
#!/bin/bash
echo '''
#######################################################
## ##
## Installing Dev Environment ##
## ##
#######################################################
'''
dotfiles_dir=$(pwd)
OS_NAME=$(uname)
source ./scripts/helpers.sh
set_linux_package_installer
echo "Linux command is: ${LINUX_PACKAGE_INSTALL_COMMAND}"
echo "Installing OS specific programs"
if [ OS_NAME == "Linux" ]; then
echo "OS identified as Linux"
./scripts/linux_install.sh
else if [ OS_NAME == "Darwin" ]; then
echo "OS identified as MacOS"
./scripts/macos_install.sh
else
echo "Cannot identify OS of this system"
exit 0
fi
# # Symlink dotfiles
# ln -sf {dotfiles_dir}/.[!.]* $HOME
echo "Dotfiles successfully installed for ${OS_NAME}. Happy Hacking :D"