posttrans: creare /etc/sddm.conf if missing [release 4.91.0-2mamba;Mon Jul 22 2019]
This commit is contained in:
parent
5203e783f4
commit
188a1725dc
@ -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 <silvan.calarco@mambasoft.it> 4.91.0-2mamba
|
||||
- posttrans: creare /etc/sddm.conf if missing
|
||||
|
||||
* Sun Jun 30 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 4.91.0-1mamba
|
||||
- update to 4.91.0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user