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 | fi | 22 | fi |
| 23 | 23 | ||
| 24 | # Configure sddm autologin for the kde iso. | 24 | # Configure sddm autologin for the kde iso. |
| 25 | if [ -r ${NEWROOT}/etc/sddm.conf ]; then | 25 | if [ -x ${NEWROOT}/usr/bin/sddm ]; then |
| 26 | mv ${NEWROOT}/etc/sddm.conf ${NEWROOT}/etc/sddm.conf.old | ||
| 27 | cat > ${NEWROOT}/etc/sddm.conf <<_EOF | 26 | cat > ${NEWROOT}/etc/sddm.conf <<_EOF |
| 28 | [Autologin] | 27 | [Autologin] |
| 29 | User=anon | 28 | User=anon |