diff --git a/livecd-tools.spec b/livecd-tools.spec index 47c4925..d9e4702 100644 --- a/livecd-tools.spec +++ b/livecd-tools.spec @@ -5,7 +5,7 @@ %define lpadmin_gid 65032 Name: livecd-tools Version: 4.91.0 -Release: 1mamba +Release: 2mamba Summary: Live cd environment and utilities Group: System/Tools Vendor: openmamba @@ -156,6 +156,12 @@ if [ $1 -eq 1 ]; then if [ -e /etc/sddm.conf ]; then sed -i "s|User=.*|User=liveuser|;s|Session=.*|Session=plasma|;s|MinimumUid=.*|MinimumUid=999|;s|Relogin=.*|Relogin=true|" \ /etc/sddm.conf + else + cat > /etc/sddm.conf << _EOF +[Autologin] +User=liveuser +Session=plasma +_EOF fi # Configure GDM for autologin if [ -e /etc/gdm/custom.conf ]; then @@ -198,6 +204,9 @@ fi %attr(-,liveuser,users) /home/liveuser/.kde4/share/config/* %changelog +* Mon Jul 22 2019 Silvan Calarco 4.91.0-2mamba +- posttrans: creare /etc/sddm.conf if missing + * Sun Jun 30 2019 Silvan Calarco 4.91.0-1mamba - update to 4.91.0