File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -40,6 +40,10 @@ Choose the flavour of Ubuntu you wish to install:
40401. Ubuntu
41412. Kubuntu
42423. Ubuntu Unity
43+ 4. Ubuntu Budgie
44+ 5. Ubuntu Cinnamon
45+ 6. Ubuntu MATE
46+ 7. Xubuntu
4347
4448Type your choice (1, 2 etc.) from the above list and press return.
4549EOF
@@ -49,12 +53,31 @@ read flavinput
4953case " $flavinput " in
5054 (1)
5155 flavour=ubuntu
56+ flavourcap=Ubuntu
5257 ;;
5358 (2)
5459 flavour=kubuntu
60+ flavourcap=Kubuntu
5561 ;;
5662 (3)
5763 flavour=ubuntu-unity
64+ flavourcap=" Ubuntu Unity"
65+ ;;
66+ (4)
67+ flavour=ubuntu-budgie
68+ flavourcap=" Ubuntu Budgie"
69+ ;;
70+ (5)
71+ flavour=ubuntucinnamon
72+ flavourcap=" Ubuntu Cinnamon"
73+ ;;
74+ (6)
75+ flavour=ubuntu-mate
76+ flavourcap=" Ubuntu MATE"
77+ ;;
78+ (7)
79+ flavour=xubuntu
80+ flavourcap=" Xubuntu"
5881 ;;
5982 (* )
6083 echo " Invalid input. Aborting!"
@@ -89,15 +112,6 @@ case "$verinput" in
89112 ;;
90113esac
91114
92- if [[ ${flavour} = ubuntu-unity ]]
93- then
94- flavourcap=" Ubuntu Unity"
95- else
96- firstChar=$( echo " $flavour " | cut -c1 | tr ' [a-z]' ' [A-Z]' )
97- restOfString=$( echo " $flavour " | cut -c2-)
98- flavourcap=" ${firstChar}${restOfString} "
99- fi
100-
101115echo -e " \nDownloading Part 1 for ${flavourcap} ${ver} \n"
102116curl -#L https://github.com/t2linux/T2-Ubuntu/releases/download/${latest} /${iso} .iso.00 > ${iso} .iso
103117
You can’t perform that action at this time.
0 commit comments