diff options
author | glitsj16 <glitsj16@users.noreply.github.com> | 2019-07-06 23:35:40 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-06 23:35:40 +0000 |
commit | 0dffeb15b650a113643aa0d632ffae59379fe12e (patch) | |
tree | fa7351d5de0f3fe6ce86a9b565b628ef411de5a5 /etc | |
parent | mpg123 (diff) | |
download | firejail-0dffeb15b650a113643aa0d632ffae59379fe12e.tar.gz firejail-0dffeb15b650a113643aa0d632ffae59379fe12e.tar.zst firejail-0dffeb15b650a113643aa0d632ffae59379fe12e.zip |
Add youtube-dl config handling (#2836)
* Add youtube-dl config to disable-programs.inc
* Add config handling to youtube-dl
* Add youtube-dl config handling to celluloid.profile
* Add youtube-dl config handling to mpv.profile
* Add youtube-dl config handling to smplayer.profile
* Add youtube-dl config handling to mpsyt.profile
Diffstat (limited to 'etc')
-rw-r--r-- | etc/celluloid.profile | 3 | ||||
-rw-r--r-- | etc/disable-programs.inc | 1 | ||||
-rw-r--r-- | etc/mpsyt.profile | 3 | ||||
-rw-r--r-- | etc/mpv.profile | 1 | ||||
-rw-r--r-- | etc/smplayer.profile | 1 | ||||
-rw-r--r-- | etc/youtube-dl.profile | 1 |
6 files changed, 9 insertions, 1 deletions
diff --git a/etc/celluloid.profile b/etc/celluloid.profile index 89543d6cc..6b7db6b44 100644 --- a/etc/celluloid.profile +++ b/etc/celluloid.profile | |||
@@ -6,8 +6,9 @@ include celluloid.local | |||
6 | # Persistent global definitions | 6 | # Persistent global definitions |
7 | include globals.local | 7 | include globals.local |
8 | 8 | ||
9 | noblacklist ${HOME}/.config/gnome-mpv | ||
10 | noblacklist ${HOME}/.config/celluloid | 9 | noblacklist ${HOME}/.config/celluloid |
10 | noblacklist ${HOME}/.config/gnome-mpv | ||
11 | noblacklist ${HOME}/.config/youtube-dl | ||
11 | noblacklist ${MUSIC} | 12 | noblacklist ${MUSIC} |
12 | noblacklist ${VIDEOS} | 13 | noblacklist ${VIDEOS} |
13 | 14 | ||
diff --git a/etc/disable-programs.inc b/etc/disable-programs.inc index 3e6706101..c061e94a2 100644 --- a/etc/disable-programs.inc +++ b/etc/disable-programs.inc | |||
@@ -319,6 +319,7 @@ blacklist ${HOME}/.config/xviewer | |||
319 | blacklist ${HOME}/.config/yandex-browser | 319 | blacklist ${HOME}/.config/yandex-browser |
320 | blacklist ${HOME}/.config/yandex-browser-beta | 320 | blacklist ${HOME}/.config/yandex-browser-beta |
321 | blacklist ${HOME}/.config/yelp | 321 | blacklist ${HOME}/.config/yelp |
322 | blacklist ${HOME}/.config/youtube-dl | ||
322 | blacklist ${HOME}/.config/zathura | 323 | blacklist ${HOME}/.config/zathura |
323 | blacklist ${HOME}/.config/zoomus.conf | 324 | blacklist ${HOME}/.config/zoomus.conf |
324 | blacklist ${HOME}/.conkeror.mozdev.org | 325 | blacklist ${HOME}/.conkeror.mozdev.org |
diff --git a/etc/mpsyt.profile b/etc/mpsyt.profile index f0309da9a..878a5f654 100644 --- a/etc/mpsyt.profile +++ b/etc/mpsyt.profile | |||
@@ -8,6 +8,7 @@ include globals.local | |||
8 | 8 | ||
9 | noblacklist ${HOME}/.config/mps-youtube | 9 | noblacklist ${HOME}/.config/mps-youtube |
10 | noblacklist ${HOME}/.config/mpv | 10 | noblacklist ${HOME}/.config/mpv |
11 | noblacklist ${HOME}/.config/youtube-dl | ||
11 | noblacklist ${HOME}/.mplayer | 12 | noblacklist ${HOME}/.mplayer |
12 | noblacklist ${HOME}/.netrc | 13 | noblacklist ${HOME}/.netrc |
13 | noblacklist ${HOME}/mps | 14 | noblacklist ${HOME}/mps |
@@ -29,10 +30,12 @@ include disable-xdg.inc | |||
29 | 30 | ||
30 | mkdir ${HOME}/.config/mps-youtube | 31 | mkdir ${HOME}/.config/mps-youtube |
31 | mkdir ${HOME}/.config/mpv | 32 | mkdir ${HOME}/.config/mpv |
33 | mkdir ${HOME}/.config/youtube-dl | ||
32 | mkdir ${HOME}/.mplayer | 34 | mkdir ${HOME}/.mplayer |
33 | mkdir ${HOME}/mps | 35 | mkdir ${HOME}/mps |
34 | whitelist ${HOME}/.config/mps-youtube | 36 | whitelist ${HOME}/.config/mps-youtube |
35 | whitelist ${HOME}/.config/mpv | 37 | whitelist ${HOME}/.config/mpv |
38 | whitelist ${HOME}/.config/youtube-dl | ||
36 | whitelist ${HOME}/.mplayer | 39 | whitelist ${HOME}/.mplayer |
37 | whitelist ${HOME}/.netrc | 40 | whitelist ${HOME}/.netrc |
38 | whitelist ${HOME}/mps | 41 | whitelist ${HOME}/mps |
diff --git a/etc/mpv.profile b/etc/mpv.profile index 07a6ba42b..25769085c 100644 --- a/etc/mpv.profile +++ b/etc/mpv.profile | |||
@@ -8,6 +8,7 @@ include mpv.local | |||
8 | include globals.local | 8 | include globals.local |
9 | 9 | ||
10 | noblacklist ${HOME}/.config/mpv | 10 | noblacklist ${HOME}/.config/mpv |
11 | noblacklist ${HOME}/.config/youtube-dl | ||
11 | noblacklist ${HOME}/.netrc | 12 | noblacklist ${HOME}/.netrc |
12 | 13 | ||
13 | # Allow python (blacklisted by disable-interpreters.inc) | 14 | # Allow python (blacklisted by disable-interpreters.inc) |
diff --git a/etc/smplayer.profile b/etc/smplayer.profile index f83caee8a..c7324e6ca 100644 --- a/etc/smplayer.profile +++ b/etc/smplayer.profile | |||
@@ -7,6 +7,7 @@ include smplayer.local | |||
7 | include globals.local | 7 | include globals.local |
8 | 8 | ||
9 | noblacklist ${HOME}/.config/smplayer | 9 | noblacklist ${HOME}/.config/smplayer |
10 | noblacklist ${HOME}/.config/youtube-dl | ||
10 | noblacklist ${HOME}/.mplayer | 11 | noblacklist ${HOME}/.mplayer |
11 | 12 | ||
12 | # Allow python (blacklisted by disable-interpreters.inc) | 13 | # Allow python (blacklisted by disable-interpreters.inc) |
diff --git a/etc/youtube-dl.profile b/etc/youtube-dl.profile index 28b5f2376..a9acd4583 100644 --- a/etc/youtube-dl.profile +++ b/etc/youtube-dl.profile | |||
@@ -10,6 +10,7 @@ include globals.local | |||
10 | # breaks when installed via pip | 10 | # breaks when installed via pip |
11 | ignore noexec ${HOME} | 11 | ignore noexec ${HOME} |
12 | 12 | ||
13 | noblacklist ${HOME}/.config/youtube-dl | ||
13 | noblacklist ${HOME}/.netrc | 14 | noblacklist ${HOME}/.netrc |
14 | noblacklist ${MUSIC} | 15 | noblacklist ${MUSIC} |
15 | noblacklist ${VIDEOS} | 16 | noblacklist ${VIDEOS} |