mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-10-14 20:18:39 +00:00
contrib/rpm: %ghost "/etc/NetworkManager/VPN"
"/etc/NetworkManager/VPN" was historically the place for .name files for VPN plugins. In the meantime, those should be under "/usr/lib/NetworkManager/VPN". Still, NetworkManager honors (and possibly watches) the directory in /etc. Mark the directory as %ghost. The exact effect of this is not clear to me. It seems however right to do, and works for my testing.
This commit is contained in:
parent
40c78fe699
commit
af40a14556
|
@ -977,6 +977,7 @@ fi
|
||||||
%dir %{_sysconfdir}/%{name}/dnsmasq-shared.d
|
%dir %{_sysconfdir}/%{name}/dnsmasq-shared.d
|
||||||
%dir %{_sysconfdir}/%{name}/system-connections
|
%dir %{_sysconfdir}/%{name}/system-connections
|
||||||
%config(noreplace) %{_sysconfdir}/%{name}/NetworkManager.conf
|
%config(noreplace) %{_sysconfdir}/%{name}/NetworkManager.conf
|
||||||
|
%ghost %{_sysconfdir}/%{name}/VPN
|
||||||
%{_bindir}/nm-online
|
%{_bindir}/nm-online
|
||||||
%{_libexecdir}/nm-ifup
|
%{_libexecdir}/nm-ifup
|
||||||
%ghost %attr(755, root, root) %{_sbindir}/ifup
|
%ghost %attr(755, root, root) %{_sbindir}/ifup
|
||||||
|
|
Loading…
Reference in a new issue