1
0
mirror of https://gitlab.com/JKANetwork/JKArch.git synced 2026-02-15 17:51:33 +01:00

question for install

This commit is contained in:
kprkpr
2016-10-19 16:02:48 +02:00
parent 027319e221
commit aa52624ac1

View File

@@ -761,17 +761,16 @@ umount /mnt/
particiones particiones
clear clear
respuesta = "NO" #Resumen de los cambios
while [ $respuesta != FORMAT ];do tput setaf 6
tput setaf 6 echo "$(T "Ok, last thing before start installing, summary of changes")"
echo "$(T "Ok, last thing before start installing, summary of changes")" echo "$(T "Partition scheme before your changes")"
echo "$(T "Partition scheme before your changes")" tput setaf 9
tput setaf 9 lsblk --output NAME,KNAME,FSTYPE,SIZE,LABEL
lsblk --output NAME,KNAME,FSTYPE,SIZE,LABEL tput setaf 6
tput setaf 6 echo "$(T "Your changes")"
echo "$(T "Your changes")" tput setaf 9
tput setaf 9 case $formatoraiz in
case $formatoraiz in
"mkfs.ext4 -F") "mkfs.ext4 -F")
mosfraiz="$(T "ext4 formatted")";; mosfraiz="$(T "ext4 formatted")";;
"mkfs.btrfs -f") "mkfs.btrfs -f")
@@ -780,10 +779,10 @@ while [ $respuesta != FORMAT ];do
mosfraiz="$(T "XFS formatted")";; mosfraiz="$(T "XFS formatted")";;
"echo No formatear ") "echo No formatear ")
mosfraiz="$(T "not formatted")";; mosfraiz="$(T "not formatted")";;
esac esac
echo "$(T "Root partition"): $particionraiz , $mosfraiz" echo "$(T "Root partition"): $particionraiz , $mosfraiz"
if [[ $particionhome ]];then if [[ $particionhome ]];then
case $formatohome in case $formatohome in
"mkfs.ext4 -F") "mkfs.ext4 -F")
mosfhome="$(T "ext4 formatted")";; mosfhome="$(T "ext4 formatted")";;
"mkfs.btrfs -f") "mkfs.btrfs -f")
@@ -792,15 +791,32 @@ while [ $respuesta != FORMAT ];do
mosfhome="$(T "XFS formatted")";; mosfhome="$(T "XFS formatted")";;
"echo No formatear ") "echo No formatear ")
mosfhome="$(T "not formatted")";; mosfhome="$(T "not formatted")";;
esac esac
echo "$(T "Home partition"): $particionhome , $mosfhome" echo "$(T "Home partition"): $particionhome , $mosfhome"
fi fi
if [[ $partefi ]];then if [[ $partefi ]];then
echo "$(T "EFI partition in") $partefi" echo "$(T "EFI partition in") $partefi"
fi fi
tput setaf 1 ; dialog --title "CONFIRMATION" --clear --inputbox "${T}; If you agree with that, write \"FORMAT\" If not write anything diferent)" 10 100; respuesta=$?; tput setaf 9 #Pregunta si instalar o no
tput setaf 1
echo "¿Estas de acuerdo con los cambios y quieres comenzar la instalacion?"
options=("No, volver a empezar" "Si, instalar" "No, apagar el ordenador")
select opt in "${options[@]}"
do
case $opt in
"No, volver a empezar")
exec ./archinstall.sh
exit
break;;
"No editar")
poweroff
exit
;;
esac
done done
tput setaf 9
#Instalación
pause pause
baseinstall baseinstall