summaryrefslogtreecommitdiff
path: root/configs/mate/root-image/root/.scriptsInstallation/language/es/install.sh
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-07-27 02:24:51 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-07-27 02:24:51 -0300
commit77a356698264eda03333993531804351ac4b512e (patch)
tree2ce5dd3a8043e99ddb6e17e9cef3fe6e5cd23770 /configs/mate/root-image/root/.scriptsInstallation/language/es/install.sh
parent57b4528f2628b991c870fea53c74b3f4dcd9b508 (diff)
Change choosing options in Mate ISO installer
Diffstat (limited to 'configs/mate/root-image/root/.scriptsInstallation/language/es/install.sh')
-rwxr-xr-xconfigs/mate/root-image/root/.scriptsInstallation/language/es/install.sh36
1 files changed, 17 insertions, 19 deletions
diff --git a/configs/mate/root-image/root/.scriptsInstallation/language/es/install.sh b/configs/mate/root-image/root/.scriptsInstallation/language/es/install.sh
index 0f7a7f8..3a0e542 100755
--- a/configs/mate/root-image/root/.scriptsInstallation/language/es/install.sh
+++ b/configs/mate/root-image/root/.scriptsInstallation/language/es/install.sh
@@ -98,8 +98,8 @@ while [ option != 7 ]; do
2 "Instalar Sistema Base" \
3 "Instalar GRUB" \
4 "Configuración del Sistema" \
- 5 "Crear Cuenta de Usuario" \
- 6 "(Opcional) Instalar Escritorio/Aplicaciones del Live DVD" \
+ 5 "(Opcional) Instalar Escritorio/Aplicaciones del Live DVD" \
+ 6 "Crear Cuenta de Usuario" \
7 "Salir" )
case $option in
@@ -126,21 +126,7 @@ while [ option != 7 ]; do
arch-chroot /mnt /systemConfig.sh
rm -r /mnt/systemConfig.sh
;;
- 5)
- #Create a new username and save in temporal, to use after
- if (cat ~/.scriptsInstallation/temporal | grep "userName=") &>/dev/null
- then
- sed -i -e '/userName=*/d' ~/.scriptsInstallation/temporal
- fi
-
- echo "userName=$(dialog --stdout --inputbox "Introduce nombre de usuario" 8 40)" >> ~/.scriptsInstallation/temporal
- cp ~/.scriptsInstallation/temporal /mnt
- cp ~/.scriptsInstallation/userAccount.sh /mnt
- chmod +x /mnt/userAccount.sh
- arch-chroot /mnt /userAccount.sh
- rm -r /mnt/userAccount.sh
- ;;
- 6)
+ 5)
#Packages to the X11 live
packages=( "xorg-server"
"xf86-input-evdev"
@@ -233,8 +219,6 @@ while [ option != 7 ]; do
#Puts the XKBMAP, start X11 automatically and Mate desktop
echo "setxkbmap $(cat ~/.codecheck | grep XKBMAP= | cut -d '=' -f 2)" > /mnt/etc/skel/.xinitrc
- echo "exec mate-session" >> /mnt/etc/skel/.xinitrc
- echo "startx" >> /mnt/etc/skel/.bash_profile
chmod +x /mnt/etc/skel/.xinitrc
cp -a ~/.scriptsInstallation/x11.sh /mnt
@@ -243,6 +227,20 @@ while [ option != 7 ]; do
arch-chroot /mnt /x11.sh
rm /mnt/x11.sh
;;
+ 6)
+ #Create a new username and save in temporal, to use after
+ if (cat ~/.scriptsInstallation/temporal | grep "userName=") &>/dev/null
+ then
+ sed -i -e '/userName=*/d' ~/.scriptsInstallation/temporal
+ fi
+
+ echo "userName=$(dialog --stdout --inputbox "Introduce nombre de usuario" 8 40)" >> ~/.scriptsInstallation/temporal
+ cp ~/.scriptsInstallation/temporal /mnt
+ cp ~/.scriptsInstallation/userAccount.sh /mnt
+ chmod +x /mnt/userAccount.sh
+ arch-chroot /mnt /userAccount.sh
+ rm -r /mnt/userAccount.sh
+ ;;
*)
#Delete temporal file and umount partitions
rm -r /mnt/temporal