mirror of
https://gitlab.com/JKANetwork/JKArch.git
synced 2026-02-16 10:11:32 +01:00
changes
This commit is contained in:
@@ -135,13 +135,10 @@ if [[ ! $optpa -eq 3 ]];then
|
||||
tput setaf 6 ; echo "$(T "Your partition scheme")" ; tput setaf 9
|
||||
lsblk --output NAME,KNAME,FSTYPE,SIZE,LABEL
|
||||
tput setaf 6 ; echo "$(T "Select root partition")" ; tput setaf 9
|
||||
options=($(lsblk --output KNAME | sed '1d' | grep '${hd}' | grep '[1-9]$') "Salir")
|
||||
options=($(lsblk --output KNAME | sed '1d' | grep ${hd} | grep '[1-9]$'))
|
||||
select opt in "${options[@]}"
|
||||
do
|
||||
case $opt in
|
||||
"Salir")
|
||||
mostrardialog "Instalacion detenida" "Se ha detenido la instalacion, se apagara el ordenador"
|
||||
poweroff;;
|
||||
*)
|
||||
if [[ -z $opt ]];then
|
||||
echo "$(T "Not valid")"
|
||||
@@ -169,7 +166,7 @@ if [[ ! $optpa -eq 3 ]];then
|
||||
#Selección de home
|
||||
lsblk --output NAME,KNAME,FSTYPE,SIZE,LABEL
|
||||
tput setaf 6 ; echo "$(T "Select home partition")" ; tput setaf 9
|
||||
options=($(lsblk --output KNAME | sed '1d' | grep '${hd}' | grep '[1-9]$') "No elegir")
|
||||
options=($(lsblk --output KNAME | sed '1d' | grep ${hd} | grep '[1-9]$') "No elegir")
|
||||
select opt in "${options[@]}"
|
||||
do
|
||||
case $opt in
|
||||
|
||||
Reference in New Issue
Block a user