refactor(profiles): use @{bin} and @{lib} in profiles (4)
This commit is contained in:
parent
27daa7c9bb
commit
43b0f09b65
173 changed files with 909 additions and 916 deletions
|
|
@ -6,7 +6,7 @@ abi <abi/3.0>,
|
|||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{usr/,}bin/evince @{libexec}/evinced
|
||||
@{exec_path} = @{bin}/evince @{lib}/evinced
|
||||
profile evince @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/dconf-write>
|
||||
|
|
@ -81,10 +81,10 @@ profile evince @{exec_path} {
|
|||
|
||||
@{exec_path} rix,
|
||||
|
||||
/{usr/,}bin/{,ba,da}sh rix,
|
||||
/{usr/,}bin/gio-launch-desktop rPx,
|
||||
/{usr/,}lib/@{multiarch}/glib-[0-9]*/gio-launch-desktop rPx -> child-open,
|
||||
/{usr/,}lib/gio-launch-desktop rPx -> child-open,
|
||||
@{bin}/{,ba,da}sh rix,
|
||||
@{bin}/gio-launch-desktop rPx,
|
||||
@{lib}/@{multiarch}/glib-[0-9]*/gio-launch-desktop rPx -> child-open,
|
||||
@{lib}/gio-launch-desktop rPx -> child-open,
|
||||
|
||||
/usr/share/djvu/{,**} r,
|
||||
/usr/share/evince/{,**} r,
|
||||
|
|
@ -107,7 +107,7 @@ profile evince @{exec_path} {
|
|||
|
||||
/dev/tty rw,
|
||||
|
||||
deny /{usr/,}lib/ r, # asks when viewing PostScript files
|
||||
deny @{lib}/ r, # asks when viewing PostScript files
|
||||
|
||||
include if exists <local/evince>
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue