summaryrefslogtreecommitdiff
path: root/alis.sh
diff options
context:
space:
mode:
authorpico.dev <pico.dev@gmail.com>2019-09-25 21:34:27 +0200
committerpico.dev <pico.dev@gmail.com>2019-09-25 21:34:27 +0200
commit997df68ff0e8e69c03fd48cc95d823e500a872c8 (patch)
tree97b87bf967e4c9b4528eb81266fbe9de626e9a2c /alis.sh
parente12afc76b5adcaf0f730ae1d226fb77bd6dd31c8 (diff)
Allow installation on a SATA device named as vda, fix KDE SDDM
configuration Fixes #52
Diffstat (limited to 'alis.sh')
-rw-r--r--alis.sh5
1 files changed, 2 insertions, 3 deletions
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
}