summaryrefslogtreecommitdiff
path: root/configs/mate/root-image/root/.scriptsInstallation/language/pt/install.sh
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-07-27 16:10:08 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-07-27 16:10:08 -0300
commitd4eb34a4030592f49abc75c65f26a1fbd35a8528 (patch)
treeebc2916ad4feec542283988bc7371bed10f86b30 /configs/mate/root-image/root/.scriptsInstallation/language/pt/install.sh
parent77a356698264eda03333993531804351ac4b512e (diff)
Fix keyboard, volume and Parabola theme in Mate ISO
Diffstat (limited to 'configs/mate/root-image/root/.scriptsInstallation/language/pt/install.sh')
-rwxr-xr-xconfigs/mate/root-image/root/.scriptsInstallation/language/pt/install.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/configs/mate/root-image/root/.scriptsInstallation/language/pt/install.sh b/configs/mate/root-image/root/.scriptsInstallation/language/pt/install.sh
index 7d4ad73..41dd4ad 100755
--- a/configs/mate/root-image/root/.scriptsInstallation/language/pt/install.sh
+++ b/configs/mate/root-image/root/.scriptsInstallation/language/pt/install.sh
@@ -217,9 +217,7 @@ while [ option != 7 ]; do
#Uncomment to allow members of group wheel to execute any command
sed -i 's|[#] [%]wheel ALL=[(]ALL[)] ALL|%wheel ALL=(ALL) ALL|' /mnt/etc/sudoers
- #Puts the XKBMAP, start X11 automatically and Mate desktop
- echo "setxkbmap $(cat ~/.codecheck | grep XKBMAP= | cut -d '=' -f 2)" > /mnt/etc/skel/.xinitrc
- chmod +x /mnt/etc/skel/.xinitrc
+ #Enable services
cp -a ~/.scriptsInstallation/x11.sh /mnt
#Enable services with systemd
@@ -235,6 +233,7 @@ while [ option != 7 ]; do
fi
echo "userName=$(dialog --stdout --inputbox "Insira o nome do usuário" 8 40)" >> ~/.scriptsInstallation/temporal
+ cp ~/.codecheck /mnt
cp ~/.scriptsInstallation/temporal /mnt
cp ~/.scriptsInstallation/userAccount.sh /mnt
chmod +x /mnt/userAccount.sh
@@ -243,6 +242,7 @@ while [ option != 7 ]; do
;;
*)
#Delete temporal file and umount partitions
+ rm -r /mnt/.codecheck
rm -r /mnt/temporal
umount /mnt/boot &> /dev/null
umount /mnt/home &> /dev/null