-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.sh
executable file
·70 lines (56 loc) · 1.45 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
67
68
69
70
#!/bin/bash
clear
export DOTFILES="$HOME/Github/dotfiles"
Menu ()
{
echo -e "\e[1;35m#####################################################\e[0m"
echo -e "\e[1;35m## \e[0mConfig My Fuck1\"g OS \e[91mS2 \e[35m##"
echo -e "#####################################################\e[0m"
echo
echo -e "\e[93m[1] -->\e[0m Ubuntu"
echo -e "\e[93m[2] -->\e[0m Arch Linux"
echo -e "\e[93m[3] -->\e[0m Manjaro"
echo
echo -n "Let's go! Choose your distro: "
read option
case $option in
1) Ubuntu ;;
2) ArchLinux ;;
3) Manjaro ;;
0) echo; echo "Ok! Let's go D:"; sleep 1; exit ;;
*) echo; echo "Not an avaliable option! Try again!!"; sleep 1; echo; Menu ;;
esac
}
Ubuntu ()
{
echo
echo -e "\e[1mNice! Initializing Ubuntu setup.\e[0m"
sleep 1
source $DOTFILES/ubuntu/setup.sh
echo
echo -e "\e[1mInstall DevPack? [y/N]\e[0m"
read RESP
echo
if [ $RESP == "y" ]; then
echo -e "\e[1mOk! Initializing DevPack\e[0m"
sleep 1
source $DOTFILES/ubuntu/devpack.sh
else
echo -e "\e[1mInstalation finished!\e[0m"
fi
}
ArchLinux ()
{
echo
echo -e "\e[1mNice! Initializing ArchLinux setup.\e[0m"
sleep 1
source $DOTFILES/archlinux/setup.sh
}
Manjaro ()
{
echo
echo -e "\e[1mNice! Initializing Manjaro setup.\e[0m"
sleep 1
source $DOTFILES/manjaro/setup.sh
}
Menu