Add subversions to the kernel version selector

This commit is contained in:
Tk-Glitch 2021-03-09 16:23:07 +01:00
parent f0e83ee3c0
commit 70d92d78b2

View File

@ -59,8 +59,9 @@ _tkg_initscript() {
# then this file is sourced at the end of these so these vars are accessible
# to the rest of the script
if [ -z "$_version" ] && [ ! -e "$_path"/versel ]; then
plain "Which kernel version do you want to install?"
read -rp "`echo $' 1. 5.4 LTS\n 2. 5.7\n 3. 5.8\n 4. 5.9\n 5. 5.10 LTS\n > 6. 5.11\n 7. 5.12 RC\nchoice[1-7?]'`" _VERSEL;
msg2 "Which kernel version do you want to install?"
plain "1. 5.4.$ver54 LTS\n 2. 5.7.$ver57\n 3. 5.8.$ver58\n 4. 5.9.$ver59\n 5. 5.10.$ver510 LTS\n > 6. 5.11.$ver511 (latest stable)\n 7. 5.12.$ver512"
read -rp "`echo $' choice[1-7?]'`" _VERSEL;
case $_VERSEL in
"1")
echo "_basever=54" > "$_path"/versel