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

This commit is contained in:
Alexandre Pujol 2023-07-09 14:59:53 +01:00
parent 7c2c806ffa
commit 2b2c42d23c
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
155 changed files with 938 additions and 938 deletions

View file

@ -6,7 +6,7 @@ abi <abi/3.0>,
include <tunables/global>
@{exec_path} = /{usr/,}bin/youtube-viewer
@{exec_path} = @{bin}/youtube-viewer
profile youtube-viewer @{exec_path} {
include <abstractions/base>
include <abstractions/consoles>
@ -24,13 +24,13 @@ profile youtube-viewer @{exec_path} {
network netlink raw,
@{exec_path} r,
/{usr/,}bin/perl r,
@{bin}/perl r,
/{usr/,}bin/{,ba,da}sh rix,
/{usr/,}bin/infocmp rix,
/{usr/,}bin/stty rix,
@{bin}/{,ba,da}sh rix,
@{bin}/infocmp rix,
@{bin}/stty rix,
/{usr/,}bin/wget rCx -> wget,
@{bin}/wget rCx -> wget,
owner @{user_config_dirs}/youtube-viewer/{,*} rw,
owner @{user_cache_dirs}/youtube-viewer/{,*} rw,
@ -39,11 +39,11 @@ profile youtube-viewer @{exec_path} {
/etc/inputrc r,
# Players
/{usr/,}bin/mpv rPUx,
/{usr/,}bin/vlc rPUx,
/{usr/,}bin/smplayer rPUx,
@{bin}/mpv rPUx,
@{bin}/vlc rPUx,
@{bin}/smplayer rPUx,
/{usr/,}bin/ffmpeg rPUx,
@{bin}/ffmpeg rPUx,
profile wget {
@ -55,7 +55,7 @@ profile youtube-viewer @{exec_path} {
signal (receive) set=(hup, winch) peer=gtk-youtube-viewer//xterm,
/{usr/,}bin/wget mr,
@{bin}/wget mr,
/etc/wgetrc r,