From b1880820389669f7e10e9cb3f6ca2a07fd983491 Mon Sep 17 00:00:00 2001 From: simono41 Date: Sun, 6 May 2018 01:23:25 +0200 Subject: [PATCH] install-fix --- arch-install | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch-install b/arch-install index 4b58f3a..80101bf 100755 --- a/arch-install +++ b/arch-install @@ -1110,8 +1110,9 @@ if [ "${name}" != "noinstall" ] && [ -z "${installationsfehler}" ] && [ "${offli arch-chroot ${mountpoint} chfn -f "${name}" user1 arch-chroot ${mountpoint} passwd user1 + mkdir -p ${mountpoint}/etc/lightdm/ cp /opt/${repo}/Xsession /opt/${repo}/keys.conf /opt/${repo}/lightdm-gtk-greeter.conf /opt/${repo}/lightdm.conf /opt/${repo}/users.conf ${mountpoint}/etc/lightdm/ - if [ "${verschluesselung}" == "y" ]; then + if [ "${verschluesselung}" == "y" ] && [ -f /usr/bin/lightdm ] ; then arch-chroot ${mountpoint} systemctl enable lightdm-plymouth.service else arch-chroot ${mountpoint} systemctl enable lightdm.service