-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.sh
63 lines (59 loc) · 1.52 KB
/
setup.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
#!/bin/bash
#Design Variables
yellow=`tput setaf 3`
blue=`tput setaf 4`
red=`tput setaf 1`
cyan=`tput setaf 6`
magenta=`tput setaf 5`
reset=`tput sgr0`
line="--------------------------------------"
cd sources
#for gui-settings. Because the gnome settings can not set another distros from main distro.
echo -e "1.Pardus\n2.Ubuntu"
echo $line
read -p "${yellow}Distronunuzu Seçin / Choose Your Distro:${reset}" gnomeSet
if [ $gnomeSet == 2 ]; then
cd gui-settings
rm -f dconf-settings.ini
cd ubuntu-dconf
cp *ini ../
cd ../../
clear
fi
clear
printf "${yellow}1.Türkçe\n2.English${reset}\n"
read -p "Choose Your Language / Dilinizi Seç:" langChoice
if [ $langChoice == 1 ]; then
clear
printf "${yellow}1.Gnome\n2.Xfce${reset}\n"
read -p "Kurulum Tipini Seç:" distroType
if [ $distroType == 1 ]; then
echo "Türkçe Gnome Kurulumu Başlatılıyor..."
sleep 3
bash setupGnome.sh
clear
else
clear
echo "Türkçe Xfce Kurulumu Başlatılıyor..."
sleep 3
bash setupXFCE.sh
clear
fi
else
clear
printf "${yellow}1.Gnome\n2.Xfce${reset}\n"
read -p "Choose Installation Type:" distroType
if [ $distroType == 1 ]; then
clear
echo "English Gnome Installation Running..."
sleep 3
bash setupGnomeEng.sh
clear
else
clear
echo "English Xfce Installation Runing..."
sleep 3
bash setupXfceEng.sh
clear
fi
fi