Mageia Bugzilla – Attachment 8589 Details for
Bug 19601
wrong [XDisplay] section in sddm.conf config file
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
add use of %pretrans for potential problems during upgrades
sddm.spec.diff (text/plain), 604 bytes, created by
Giuseppe Ghibò
on 2016-10-23 22:20:15 CEST
(
hide
)
Description:
add use of %pretrans for potential problems during upgrades
Filename:
MIME Type:
Creator:
Giuseppe Ghibò
Created:
2016-10-23 22:20:15 CEST
Size:
604 bytes
patch
obsolete
>Index: sddm.spec >=================================================================== >--- sddm.spec (revision 1063332) >+++ sddm.spec (working copy) >@@ -1,4 +1,4 @@ >-%define rel 9 >+%define rel 10 > > Name: sddm > Version: 0.14.0 >@@ -164,6 +164,15 @@ > %_preun_service sddm > %endif > >+%pretrans >+if [ ! -L %{_datadir}/sddm/scripts/Xsetup ]; then >+ %{__rm} -f %{_datadir}/sddm/scripts/Xsetup >+fi >+ >+if [ ! -L %{_datadir}/sddm/scripts/XSession ]; then >+ %{__rm} -f %{_datadir}/sddm/scripts/Xsession >+fi >+ > %files > %attr(700,sddm,sddm) %{_localstatedir}/lib/%{name}/ > %config(noreplace) %{_sysconfdir}/sddm.conf
Index: sddm.spec =================================================================== --- sddm.spec (revision 1063332) +++ sddm.spec (working copy) @@ -1,4 +1,4 @@ -%define rel 9 +%define rel 10 Name: sddm Version: 0.14.0 @@ -164,6 +164,15 @@ %_preun_service sddm %endif +%pretrans +if [ ! -L %{_datadir}/sddm/scripts/Xsetup ]; then + %{__rm} -f %{_datadir}/sddm/scripts/Xsetup +fi + +if [ ! -L %{_datadir}/sddm/scripts/XSession ]; then + %{__rm} -f %{_datadir}/sddm/scripts/Xsession +fi + %files %attr(700,sddm,sddm) %{_localstatedir}/lib/%{name}/ %config(noreplace) %{_sysconfdir}/sddm.conf
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 19601
:
8551
|
8561
|
8562
|
8572
| 8589 |
8590
|
8591
|
8599