mirror of
https://gitlab.com/JKANetwork/JKArch.git
synced 2026-02-23 13:33:45 +01:00
changes
This commit is contained in:
@@ -39,7 +39,7 @@ case $optpa in
|
||||
startx;;
|
||||
2)
|
||||
#Terminal
|
||||
echo "Seleccione el disco duro para editar"
|
||||
echo $(T "Select hard disk to edit")
|
||||
echo "AVISO, GPT/UEFI ES EXPERMIENTAL, FALTA PROBARLO MAS, PUEDES QUEDARTE SIN ARRANQUE"
|
||||
lsblk --output NAME,KNAME,FSTYPE,SIZE,LABEL
|
||||
options=($(lsblk --output KNAME | cut -c1-3 | sort | uniq | sed '1d' | grep 'sd\|hd') "No editar" "Terminal")
|
||||
@@ -55,7 +55,7 @@ case $optpa in
|
||||
done
|
||||
;;
|
||||
3)
|
||||
mostrardialog "Instalacion en un disco duro completo" "Ahora se le permitira escoger un disco duro para eliminar, y reemplazar por una particion para JKArch sola y sus configuraciones estandar. \nPor favor, no es reversible, asegurese de lo que estas haciendo varias veces."
|
||||
mostrardialog "$(T "Full hard disk install")" "Ahora se le permitira escoger un disco duro para eliminar, y reemplazar por una particion para JKArch sola y sus configuraciones estandar. \nPor favor, no es reversible, asegurese de lo que estas haciendo varias veces."
|
||||
clear
|
||||
tput setaf 6 ; echo "$(T "Your partition scheme")" ; tput setaf 9
|
||||
lsblk --output NAME,KNAME,FSTYPE,SIZE,LABEL
|
||||
@@ -70,7 +70,7 @@ case $optpa in
|
||||
;;
|
||||
*)
|
||||
if [[ -z $opt ]];then
|
||||
echo "No valido"
|
||||
echo "$(T "Not valid")"
|
||||
else
|
||||
optseg=`dialog --stdout --nocancel --menu "¿Estas seguro de borrar todo /dev/$opt y meter JKArch aqui? No es reversible" 0 0 4 1 "No" 2 "No" 3 "Si, estoy seguro" 4 "No"`
|
||||
case $optseg in
|
||||
@@ -94,14 +94,14 @@ 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 "Elige la particion a usar como sistema raíz ('/')" ; tput setaf 9
|
||||
tput setaf 6 ; echo "$(T "Select root partition")" ; tput setaf 9
|
||||
options=($(lsblk --output KNAME | sed '1d' | grep 'sd\|hd' | grep '[1-9]$'))
|
||||
select opt in "${options[@]}"
|
||||
do
|
||||
case $opt in
|
||||
*)
|
||||
if [[ -z $opt ]];then
|
||||
echo "No valido"
|
||||
echo "$(T "")"
|
||||
else
|
||||
particionraiz=$opt
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user