sddm doesn't ship with a /etc/sddm.conf as default so the old check returned false.
Unified · Split
| @@ -22,8 +22,7 @@ if [ -d ${NEWROOT}/etc/gdm ]; then · 21 unmodified lines | ||
| 22 | 22 | fi |
| 23 | 23 | |
| 24 | 24 | # Configure sddm autologin for the kde iso. |
| 25 | −if [ -r ${NEWROOT}/etc/sddm.conf ]; then | |
| 26 | − mv ${NEWROOT}/etc/sddm.conf ${NEWROOT}/etc/sddm.conf.old | |
| 25 | +if [ -x ${NEWROOT}/usr/bin/sddm ]; then | |
| 27 | 26 | cat > ${NEWROOT}/etc/sddm.conf <<_EOF |
| 28 | 27 | [Autologin] |
| 29 | 28 | User=anon |