1
0
mirror of https://gitlab.com/JKANetwork/JKArch.git synced 2026-02-16 02:01:32 +01:00
This commit is contained in:
kprkpr
2016-06-04 23:46:17 +02:00
parent 4d54763251
commit 2d6bdd4bfb
2 changed files with 32 additions and 8 deletions

View File

@@ -238,23 +238,23 @@ echo "$(T "Your changes")"
tput setaf 9
case $formatoraiz in
"mkfs.ext4 -F")
mosfraiz="formateado en ext4";;
mosfraiz="$(T "ext4 formatted")";;
"mkfs.btrfs -f")
mosfraiz="formateado en btrfs";;
mosfraiz="$(T "btrfs formatted")";;
"echo No formatear ")
mosfraiz="sin formatear";;
mosfraiz="$(T "Not formatted")";;
esac
echo "$(T "Root partition"): $particionraiz , $mosfraiz"
if [[ $particionhome ]];then
case $formatohome in
"mkfs.ext4 -F")
mosfhome="formateado en ext4";;
mosfhome="$(T "ext4 formatted")";;
"mkfs.btrfs -f")
mosfhome="formateado en btrfs";;
mosfhome="$(T "btrfs formatted");;
"mkfs.xfs -f")
mosfhome="formateado en XFS";;
mosfhome="$(T "XFS formatted")";;
"echo No formatear ")
mosfhome="sin formatear";;
mosfhome="$(T "Not formatted")";;
esac
echo "Partición home (/home): $particionhome , $mosfhome"
fi
@@ -265,6 +265,6 @@ tput setaf 1 ; echo "$(T "If you agree with that, press enter. If not, turn off
pause
install
clear
mostrardialog "Fin" "Instalación finalizada, al pulsar aceptar, se reiniciará el sistema"
mostrardialog "$(T "End")" "$(T "Setup finished, press enter to reboot.")"
rm -rf /mnt/root/inst
reboot

View File

@@ -40,6 +40,18 @@ case "$1" in
echo "Si estas de acuerdo, presione enter, en caso contrario, apague el ordenador a la fuerza y no comenzará la instalación";;
"Root partition")
echo "Partición raiz (/)";;
"ext4 formatted")
echo "formateado en ext4";;
"btrfs formatted")
echo "formateado en btrfs";;
"XFS formatted")
echo "formateado en XFS";;
"Not formatted")
echo "sin formatear";;
"End")
echo "Fin";;
"Setup finished, press enter to reboot.")
echo "Instalación finalizada, al pulsar aceptar, se reiniciará el sistema";;
*)
echo "$1";;
esac
@@ -85,6 +97,18 @@ case "$1" in
echo "If you agree with that, press enter. If not, turn off the computer";;
"Root partition")
echo "$1";;
"ext4 formatted")
echo "$1";;
"btrfs formatted")
echo "$1";;
"XFS formatted")
echo "$1";;
"Not formatted")
echo "$1";;
"End")
echo "$1";;
"Setup finished, press enter to reboot.")
echo "$1";;
*)
translate_es "$1";;
esac