From b3838bfd1c16f66d7025daf2a926dba4559e6d38 Mon Sep 17 00:00:00 2001 From: Edgar Hoch Date: Mar 03 2021 22:56:33 +0000 Subject: 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. --- diff --git a/pulseaudio.spec b/pulseaudio.spec index ba84726..2bf0fdd 100644 --- a/pulseaudio.spec +++ b/pulseaudio.spec @@ -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