mirror of
https://gitlab.com/JKANetwork/JKArch.git
synced 2026-02-15 17:51:33 +01:00
changes
This commit is contained in:
@@ -43,8 +43,7 @@ done
|
||||
|
||||
langinst=$(cat /etc/locale.gen | grep -m1 '^#'$opclang | cut -c2-40)
|
||||
|
||||
sed "s/\#$langinst/$langinst/g" /etc/locale.gen > /etc/locale.gen.new
|
||||
mv /etc/locale.gen.new /etc/locale.gen
|
||||
sed -i "s/\#$langinst/$langinst/g" /etc/locale.gen
|
||||
echo "LANG=$opclang" > /etc/locale.conf
|
||||
echo "LC_COLLATE=$opclang" >> /etc/locale.conf
|
||||
echo "KEYMAP=$langabr" > /etc/vconsole.conf
|
||||
@@ -69,8 +68,7 @@ read nameuser
|
||||
useradd -m -G wheel -s /bin/bash $nameuser
|
||||
passwd $nameuser
|
||||
#Añadir soporte sudo para este nuevo usuario
|
||||
sed "s/\# %wheel ALL=(ALL) ALL/%wheel ALL=(ALL) ALL/g" /etc/sudoers > /etc/sudoers.new
|
||||
mv /etc/sudoers.new /etc/sudoers
|
||||
sed -i "s/\# %wheel ALL=(ALL) ALL/%wheel ALL=(ALL) ALL/g" /etc/sudoers
|
||||
}
|
||||
|
||||
function graficos {
|
||||
@@ -264,6 +262,7 @@ case $optentorno in
|
||||
2)
|
||||
pacman -S gnome gnome-extra --noconfirm;;
|
||||
esac
|
||||
pacman -R gdm --noconfirm
|
||||
instentorno=1
|
||||
;;
|
||||
5)
|
||||
|
||||
Reference in New Issue
Block a user