Don't overwrite config files modified by administrator
When an administrator modifies `/etc/xdg/autostart/firewall-applet.desktop`, these changes are lost on next update of the package. But the administrator should be able to configure systemwide defaults, e.g. that firewall-applet should not autostart at log in (`X-GNOME-Autostart-enabled=false`).
This commit is contained in:
parent
eb0881cffd
commit
0d5db8abea
@ -222,7 +222,7 @@ fi
|
|||||||
%{_mandir}/man1/firewalld*.1*
|
%{_mandir}/man1/firewalld*.1*
|
||||||
%{_mandir}/man5/firewall*.5*
|
%{_mandir}/man5/firewall*.5*
|
||||||
%{_sysconfdir}/modprobe.d/firewalld-sysctls.conf
|
%{_sysconfdir}/modprobe.d/firewalld-sysctls.conf
|
||||||
%{_sysconfdir}/logrotate.d/firewalld
|
%config(noreplace) %{_sysconfdir}/logrotate.d/firewalld
|
||||||
|
|
||||||
%files -n python3-firewall
|
%files -n python3-firewall
|
||||||
%attr(0755,root,root) %dir %{python3_sitelib}/firewall
|
%attr(0755,root,root) %dir %{python3_sitelib}/firewall
|
||||||
@ -259,9 +259,9 @@ fi
|
|||||||
%files -n firewall-applet
|
%files -n firewall-applet
|
||||||
%{_bindir}/firewall-applet
|
%{_bindir}/firewall-applet
|
||||||
%defattr(0644,root,root)
|
%defattr(0644,root,root)
|
||||||
%{_sysconfdir}/xdg/autostart/firewall-applet.desktop
|
%config(noreplace) %{_sysconfdir}/xdg/autostart/firewall-applet.desktop
|
||||||
%dir %{_sysconfdir}/firewall
|
%dir %{_sysconfdir}/firewall
|
||||||
%{_sysconfdir}/firewall/applet.conf
|
%config(noreplace) %{_sysconfdir}/firewall/applet.conf
|
||||||
%{_datadir}/icons/hicolor/*/apps/firewall-applet*.*
|
%{_datadir}/icons/hicolor/*/apps/firewall-applet*.*
|
||||||
%{_mandir}/man1/firewall-applet*.1*
|
%{_mandir}/man1/firewall-applet*.1*
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user