diff options
author | 2021-01-29 18:23:17 -0300 | |
---|---|---|
committer | 2021-02-08 19:22:57 +0000 | |
commit | c2e40c6d4e9c76304c3f49e04019871322fa6b77 (patch) | |
tree | 2d55f6fc268b1e52698759f4d0a693e068e1e7c2 /etc/profile-m-z | |
parent | formating (diff) | |
download | firejail-c2e40c6d4e9c76304c3f49e04019871322fa6b77.tar.gz firejail-c2e40c6d4e9c76304c3f49e04019871322fa6b77.tar.zst firejail-c2e40c6d4e9c76304c3f49e04019871322fa6b77.zip |
archivers: move archiver-common.inc include to the bottom
And mark it as a redirect profile.
This is done so when including other *-common.inc profiles, such as
firefox-common.profile.
Diffstat (limited to 'etc/profile-m-z')
-rw-r--r-- | etc/profile-m-z/tar.profile | 9 | ||||
-rw-r--r-- | etc/profile-m-z/unrar.profile | 5 | ||||
-rw-r--r-- | etc/profile-m-z/unzip.profile | 5 | ||||
-rw-r--r-- | etc/profile-m-z/xzdec.profile | 1 | ||||
-rw-r--r-- | etc/profile-m-z/zstd.profile | 1 |
5 files changed, 14 insertions, 7 deletions
diff --git a/etc/profile-m-z/tar.profile b/etc/profile-m-z/tar.profile index f6efb0feb..1c3612326 100644 --- a/etc/profile-m-z/tar.profile +++ b/etc/profile-m-z/tar.profile | |||
@@ -7,13 +7,16 @@ include tar.local | |||
7 | # Persistent global definitions | 7 | # Persistent global definitions |
8 | include globals.local | 8 | include globals.local |
9 | 9 | ||
10 | # Included in archiver-common.inc | ||
11 | ignore include disable-shell.inc | ||
12 | |||
10 | # Arch Linux (based distributions) need access to /var/lib/pacman. As we drop all capabilities this is automatically read-only. | 13 | # Arch Linux (based distributions) need access to /var/lib/pacman. As we drop all capabilities this is automatically read-only. |
11 | noblacklist /var/lib/pacman | 14 | noblacklist /var/lib/pacman |
12 | 15 | ||
13 | ignore include disable-shell.inc | ||
14 | include archiver-common.inc | ||
15 | |||
16 | private-etc alternatives,group,localtime,login.defs,passwd | 16 | private-etc alternatives,group,localtime,login.defs,passwd |
17 | #private-lib libfakeroot,liblzma.so.*,libreadline.so.* | 17 | #private-lib libfakeroot,liblzma.so.*,libreadline.so.* |
18 | # Debian based distributions need this for 'dpkg --unpack' (incl. synaptic) | 18 | # Debian based distributions need this for 'dpkg --unpack' (incl. synaptic) |
19 | writable-var | 19 | writable-var |
20 | |||
21 | # Redirect | ||
22 | include archiver-common.inc | ||
diff --git a/etc/profile-m-z/unrar.profile b/etc/profile-m-z/unrar.profile index 9487f8e68..65f1a425a 100644 --- a/etc/profile-m-z/unrar.profile +++ b/etc/profile-m-z/unrar.profile | |||
@@ -7,8 +7,9 @@ include unrar.local | |||
7 | # Persistent global definitions | 7 | # Persistent global definitions |
8 | include globals.local | 8 | include globals.local |
9 | 9 | ||
10 | include archiver-common.inc | ||
11 | |||
12 | private-bin unrar | 10 | private-bin unrar |
13 | private-etc alternatives,group,localtime,passwd | 11 | private-etc alternatives,group,localtime,passwd |
14 | private-tmp | 12 | private-tmp |
13 | |||
14 | # Redirect | ||
15 | include archiver-common.inc | ||
diff --git a/etc/profile-m-z/unzip.profile b/etc/profile-m-z/unzip.profile index 8da9ea820..c94416b87 100644 --- a/etc/profile-m-z/unzip.profile +++ b/etc/profile-m-z/unzip.profile | |||
@@ -10,6 +10,7 @@ include globals.local | |||
10 | # GNOME Shell integration (chrome-gnome-shell) | 10 | # GNOME Shell integration (chrome-gnome-shell) |
11 | noblacklist ${HOME}/.local/share/gnome-shell | 11 | noblacklist ${HOME}/.local/share/gnome-shell |
12 | 12 | ||
13 | include archiver-common.inc | ||
14 | |||
15 | private-etc alternatives,group,localtime,passwd | 13 | private-etc alternatives,group,localtime,passwd |
14 | |||
15 | # Redirect | ||
16 | include archiver-common.inc | ||
diff --git a/etc/profile-m-z/xzdec.profile b/etc/profile-m-z/xzdec.profile index 082392a08..c5e8d1631 100644 --- a/etc/profile-m-z/xzdec.profile +++ b/etc/profile-m-z/xzdec.profile | |||
@@ -7,4 +7,5 @@ include xzdec.local | |||
7 | # Persistent global definitions | 7 | # Persistent global definitions |
8 | include globals.local | 8 | include globals.local |
9 | 9 | ||
10 | # Redirect | ||
10 | include archiver-common.inc | 11 | include archiver-common.inc |
diff --git a/etc/profile-m-z/zstd.profile b/etc/profile-m-z/zstd.profile index 42749ba6d..07a75f97f 100644 --- a/etc/profile-m-z/zstd.profile +++ b/etc/profile-m-z/zstd.profile | |||
@@ -7,4 +7,5 @@ include zstd.local | |||
7 | # Persistent global definitions | 7 | # Persistent global definitions |
8 | include globals.local | 8 | include globals.local |
9 | 9 | ||
10 | # Redirect | ||
10 | include archiver-common.inc | 11 | include archiver-common.inc |