Don't overwrite config files modified by administrator

When an administrator modifies files in `/etc/xdg/autostart/`, these changes are lost on next update of the package. But the administrator should be able to configure systemwide defaults, e.g. that the program should not autostart at log in.
This commit is contained in:
Edgar Hoch 2021-03-03 22:56:33 +00:00
parent 176b574087
commit b3838bfd1c

View File

@ -542,7 +542,7 @@ systemctl --no-reload preset --global pulseaudio.socket >/dev/null 2>&1 || :
%endif
%files module-x11
%{_sysconfdir}/xdg/autostart/pulseaudio.desktop
%config(noreplace) %{_sysconfdir}/xdg/autostart/pulseaudio.desktop
#{_bindir}/start-pulseaudio-kde
%{_bindir}/start-pulseaudio-x11
%{_libdir}/pulse-%{pa_major}/modules/module-x11-bell.so