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