diff options
author | rafa_99 <raroma09@gmail.com> | 2022-08-07 14:53:47 +0100 |
---|---|---|
committer | rafa_99 <raroma09@gmail.com> | 2022-08-07 14:53:47 +0100 |
commit | bd528b3d4df7bed4bf648fdeb361f7b04e5b9793 (patch) | |
tree | f30063763c43b830052e4ba2e9a3fb001ba101bf /abi | |
parent | 1ca14499f117980fd2572d6ca894312d4f867413 (diff) |
Fixed hostname and updated status of gdm for parabola
Diffstat (limited to 'abi')
-rwxr-xr-x | abi | 19 |
1 files changed, 13 insertions, 6 deletions
@@ -303,7 +303,7 @@ $CHROOT -c "passwd root" clear if [ "$INIT" = "openrc" ]; then - $CHROOT "echo hostname=$HOSTNAME > /etc/conf.d/hostname" + $CHROOT "echo hostname=\"$HOSTNAME\" > /etc/conf.d/hostname" sed -i s:'keymap="us"':keymap="$KEYMAP":g /mnt/etc/conf.d/keymaps if [ "$OS" = "parabola" ]; then @@ -537,15 +537,22 @@ if [ "$EXTRA" != "N" ] && [ "$EXTRA" != "n" ]; then clear # Installation of Xorg and Drivers - $CHROOT "pacman --needed --noconfirm -S xorg" - clear + if [ "$ENVIRONMENT" -ge 1 ] && [ "$ENVIRONMENT" -le 12 ]; then + $CHROOT "pacman --needed --noconfirm -S xorg" + clear - echo "Pick your Xorg Driver:" - $CHROOT "pacman --needed -S xorg-drivers" + echo "Pick your Xorg Driver:" + "$CHROOT" "pacman --needed -S xorg-drivers" + fi clear # Installation of a Display Manager - printf "Select your desired Display Manager\n1) Gdm\n2) Lightdm\n3) Sddm\n4) None\n-> " && read -r DISPLAY && clear + if [ "$OS" = "parabola" ]; then + printf "Select your desired Display Manager\n1) Gdm (Doesnt work)\n2) Lightdm\n3) Sddm\n4) None\n-> " && read -r DISPLAY && clear + else + printf "Select your desired Display Manager\n1) Gdm\n2) Lightdm\n3) Sddm\n4) None\n-> " && read -r DISPLAY && clear + fi + case "$DISPLAY" in 1) $CHROOT "pacman --needed --noconfirm -S gdm" |