From d399a5eece6b0d204bd0879696e6b39d1b88457a Mon Sep 17 00:00:00 2001 From: kprkpr Date: Mon, 6 Jun 2016 08:59:25 +0200 Subject: [PATCH] changes --- archinstall/archinstall.sh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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