diff --git a/archinstall/archinstall.sh b/archinstall/archinstall.sh index 9c2cece..42ce84f 100755 --- a/archinstall/archinstall.sh +++ b/archinstall/archinstall.sh @@ -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