refactor(profiles): use @{bin} and @{lib} in profiles (5)

This commit is contained in:
Alexandre Pujol 2023-07-09 14:34:42 +01:00
parent 43b0f09b65
commit fcedbbfd95
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
122 changed files with 873 additions and 876 deletions

View file

@ -6,7 +6,7 @@ abi <abi/3.0>,
include <tunables/global>
@{exec_path} = /{usr/,}bin/hexchat
@{exec_path} = @{bin}/hexchat
profile hexchat @{exec_path} {
include <abstractions/base>
include <abstractions/gtk>
@ -31,8 +31,8 @@ profile hexchat @{exec_path} {
@{exec_path} mr,
# Hexchat plugins
/{usr/,}lib/@{multiarch}/hexchat/** r,
/{usr/,}lib/@{multiarch}/hexchat/plugins/*.so mr,
@{lib}/@{multiarch}/hexchat/** r,
@{lib}/@{multiarch}/hexchat/plugins/*.so mr,
# Hexchat home files
owner @{HOME}/ r,
@ -45,7 +45,7 @@ profile hexchat @{exec_path} {
/etc/fstab r,
# External apps
/{usr/,}lib/firefox/firefox rPUx,
@{lib}/firefox/firefox rPUx,
# file_inherit
owner /dev/tty[0-9]* rw,