mirror of
https://gitlab.com/JKANetwork/JKArch.git
synced 2026-02-18 11:11:31 +01:00
changes
This commit is contained in:
@@ -39,7 +39,7 @@ case $optpa in
|
|||||||
startx;;
|
startx;;
|
||||||
2)
|
2)
|
||||||
#Terminal
|
#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"
|
echo "AVISO, GPT/UEFI ES EXPERMIENTAL, FALTA PROBARLO MAS, PUEDES QUEDARTE SIN ARRANQUE"
|
||||||
lsblk --output NAME,KNAME,FSTYPE,SIZE,LABEL
|
lsblk --output NAME,KNAME,FSTYPE,SIZE,LABEL
|
||||||
options=($(lsblk --output KNAME | cut -c1-3 | sort | uniq | sed '1d' | grep 'sd\|hd') "No editar" "Terminal")
|
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
|
done
|
||||||
;;
|
;;
|
||||||
3)
|
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
|
clear
|
||||||
tput setaf 6 ; echo "$(T "Your partition scheme")" ; tput setaf 9
|
tput setaf 6 ; echo "$(T "Your partition scheme")" ; tput setaf 9
|
||||||
lsblk --output NAME,KNAME,FSTYPE,SIZE,LABEL
|
lsblk --output NAME,KNAME,FSTYPE,SIZE,LABEL
|
||||||
@@ -70,7 +70,7 @@ case $optpa in
|
|||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
if [[ -z $opt ]];then
|
if [[ -z $opt ]];then
|
||||||
echo "No valido"
|
echo "$(T "Not valid")"
|
||||||
else
|
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"`
|
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
|
case $optseg in
|
||||||
@@ -94,14 +94,14 @@ if [[ ! $optpa -eq 3 ]];then
|
|||||||
|
|
||||||
tput setaf 6 ; echo "$(T "Your partition scheme")" ; tput setaf 9
|
tput setaf 6 ; echo "$(T "Your partition scheme")" ; tput setaf 9
|
||||||
lsblk --output NAME,KNAME,FSTYPE,SIZE,LABEL
|
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]$'))
|
options=($(lsblk --output KNAME | sed '1d' | grep 'sd\|hd' | grep '[1-9]$'))
|
||||||
select opt in "${options[@]}"
|
select opt in "${options[@]}"
|
||||||
do
|
do
|
||||||
case $opt in
|
case $opt in
|
||||||
*)
|
*)
|
||||||
if [[ -z $opt ]];then
|
if [[ -z $opt ]];then
|
||||||
echo "No valido"
|
echo "$(T "")"
|
||||||
else
|
else
|
||||||
particionraiz=$opt
|
particionraiz=$opt
|
||||||
break
|
break
|
||||||
|
|||||||
@@ -22,6 +22,14 @@ case "$1" in
|
|||||||
echo "ERROR: No tienes discos duros, no se puede continuar. Por favor enchufe/inserte un disco duro y reinicie. \n Al pulsar aceptar se reiniciara el sistema";;
|
echo "ERROR: No tienes discos duros, no se puede continuar. Por favor enchufe/inserte un disco duro y reinicie. \n Al pulsar aceptar se reiniciara el sistema";;
|
||||||
"System configuration")
|
"System configuration")
|
||||||
echo "Configuración de su sistema";;
|
echo "Configuración de su sistema";;
|
||||||
|
"Select hard disk to edit")
|
||||||
|
echo "Seleccione el disco duro para editar";;
|
||||||
|
"Full hard disk install")
|
||||||
|
echo "Instalacion en un disco duro completo";;
|
||||||
|
"Select root partition")
|
||||||
|
echo "Elige la particion a usar como sistema raíz ('/')";;
|
||||||
|
"Not valid")
|
||||||
|
echo "No valido";;
|
||||||
*)
|
*)
|
||||||
echo "$1";;
|
echo "$1";;
|
||||||
esac
|
esac
|
||||||
@@ -49,6 +57,14 @@ case "$1" in
|
|||||||
echo "ERROR: You dont have any HDD/SSD, setup can't continue. Plug-in some HDD/SSD and start again. When you press enter, computer will poweroff.";;
|
echo "ERROR: You dont have any HDD/SSD, setup can't continue. Plug-in some HDD/SSD and start again. When you press enter, computer will poweroff.";;
|
||||||
"System configuration")
|
"System configuration")
|
||||||
echo "$1";;
|
echo "$1";;
|
||||||
|
"Select hard disk to edit")
|
||||||
|
echo "$1";;
|
||||||
|
"Full hard disk install")
|
||||||
|
echo "$1";;
|
||||||
|
"Select root partition")
|
||||||
|
echo "Select root (/) partition";;
|
||||||
|
"Not valid")
|
||||||
|
echo "$1";;
|
||||||
*)
|
*)
|
||||||
translate_es "$1";;
|
translate_es "$1";;
|
||||||
esac
|
esac
|
||||||
|
|||||||
Reference in New Issue
Block a user