diff options
author | 2023-08-03 09:32:15 -0300 | |
---|---|---|
committer | 2023-08-03 09:51:23 -0300 | |
commit | ff04543e93f4963cd21ee04e51ba5f99a4b2c8db (patch) | |
tree | 87eeff1201b075f3f2c5f2a1696d9ebd308b67b7 /etc/profile-m-z | |
parent | mpv.profile: add new XDG_STATE_HOME path (diff) | |
download | firejail-ff04543e93f4963cd21ee04e51ba5f99a4b2c8db.tar.gz firejail-ff04543e93f4963cd21ee04e51ba5f99a4b2c8db.tar.zst firejail-ff04543e93f4963cd21ee04e51ba5f99a4b2c8db.zip |
mpv.profile: add new XDG_CACHE_HOME path
mpv v0.36.0 uses ~/.cache/mpv[1] [2]:
Relates to #2838 #5936.
[1] https://github.com/mpv-player/mpv/releases/tag/v0.36.0
[2] https://github.com/mpv-player/mpv/pull/10838
Diffstat (limited to 'etc/profile-m-z')
-rw-r--r-- | etc/profile-m-z/mpv.profile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/profile-m-z/mpv.profile b/etc/profile-m-z/mpv.profile index d1bbdd167..af8f00c0c 100644 --- a/etc/profile-m-z/mpv.profile +++ b/etc/profile-m-z/mpv.profile | |||
@@ -24,6 +24,7 @@ include globals.local | |||
24 | #include allow-bin-sh.inc | 24 | #include allow-bin-sh.inc |
25 | #private-bin sh | 25 | #private-bin sh |
26 | 26 | ||
27 | noblacklist ${HOME}/.cache/mpv | ||
27 | noblacklist ${HOME}/.config/mpv | 28 | noblacklist ${HOME}/.config/mpv |
28 | noblacklist ${HOME}/.config/youtube-dl | 29 | noblacklist ${HOME}/.config/youtube-dl |
29 | noblacklist ${HOME}/.config/yt-dlp | 30 | noblacklist ${HOME}/.config/yt-dlp |
@@ -50,9 +51,11 @@ include disable-programs.inc | |||
50 | include disable-shell.inc | 51 | include disable-shell.inc |
51 | 52 | ||
52 | read-only ${DESKTOP} | 53 | read-only ${DESKTOP} |
54 | mkdir ${HOME}/.cache/mpv | ||
53 | mkdir ${HOME}/.config/mpv | 55 | mkdir ${HOME}/.config/mpv |
54 | mkdir ${HOME}/.local/state/mpv | 56 | mkdir ${HOME}/.local/state/mpv |
55 | mkfile ${HOME}/.netrc | 57 | mkfile ${HOME}/.netrc |
58 | whitelist ${HOME}/.cache/mpv | ||
56 | whitelist ${HOME}/.config/mpv | 59 | whitelist ${HOME}/.config/mpv |
57 | whitelist ${HOME}/.config/youtube-dl | 60 | whitelist ${HOME}/.config/youtube-dl |
58 | whitelist ${HOME}/.config/yt-dlp | 61 | whitelist ${HOME}/.config/yt-dlp |