From 997df68ff0e8e69c03fd48cc95d823e500a872c8 Mon Sep 17 00:00:00 2001 From: "pico.dev" Date: Wed, 25 Sep 2019 21:34:27 +0200 Subject: Allow installation on a SATA device named as vda, fix KDE SDDM configuration Fixes #52 --- alis.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'alis.sh') diff --git a/alis.sh b/alis.sh index 51b7fa8..b4a9eb3 100644 --- a/alis.sh +++ b/alis.sh @@ -243,7 +243,7 @@ function facts() { DEVICE_SATA="false" DEVICE_NVME="false" DEVICE_MMC="false" - if [ -n "$(echo $DEVICE | grep "^/dev/sda")" ]; then + if [ -n "$(echo $DEVICE | grep "^/dev/[a-z]d[a-z]")" ]; then DEVICE_SATA="true" elif [ -n "$(echo $DEVICE | grep "^/dev/nvme")" ]; then DEVICE_NVME="true" @@ -981,8 +981,7 @@ function desktop_environment_gnome() { } function desktop_environment_kde() { - pacman_install "plasma-meta kde-applications-meta" - arch-chroot /mnt sed -i 's/Current=.*/Current=breeze/' /etc/sddm.conf + pacman_install "plasma-meta plasma-wayland-session kde-applications-meta" arch-chroot /mnt systemctl enable sddm.service } -- cgit v1.2.3