Add 'if exists' to some include.

This commit is contained in:
Alexandre Pujol 2021-04-01 23:26:06 +01:00
parent 79904cb616
commit 08c220deee
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
18 changed files with 24 additions and 40 deletions

View file

@ -120,5 +120,4 @@
include <abstractions/private-files-strict>
#owner @{HOME}/.mozilla/**/*Cache/* r,
# Site-specific additions and overrides. See local/README for details.
include <local/usr.bin.evince>
include if exists <local/usr.bin.evince>

View file

@ -117,5 +117,4 @@
deny /sys/fs/cgroup?*{,/**} wklx,
deny /sys/fs?*{,/**} wklx,
# Site-specific additions and overrides. See local/README for details.
#include <local/abstractions/libvirt-lxc>
include if exists <local/abstractions/libvirt-lxc>

View file

@ -244,5 +244,4 @@
/ r, # harmless on any lsb compliant system
/sys/bus/nd/devices/{,**/} r,
# Site-specific additions and overrides. See local/README for details.
#include <local/abstractions/libvirt-qemu>
include if exists <local/abstractions/libvirt-qemu>