etc: Support local customizations in *.inc

This is useful for places, like hashbang.sh, which have site-specific
modifications of the *.inc files.

With the current setup, the package manager cannot automatically install
updated versions of those files, as it would need to somehow merge the
site-specific and upstream changes.  Having the site-specific changes in
separate files solves this.
This commit is contained in:
The Fox in the Shell 2017-01-09 23:22:31 +01:00
parent cd4a14d02a
commit ec719b9e0f
No known key found for this signature in database
GPG key ID: 25C4AC4F5F6ED2D6
10 changed files with 20 additions and 0 deletions

View file

@ -1,3 +1,6 @@
# Local customizations come here
include /etc/firejail/disable-common.local
# History files in $HOME
blacklist-nolog ${HOME}/.history
blacklist-nolog ${HOME}/.*_history

1
etc/disable-common.local Normal file
View file

@ -0,0 +1 @@
# This file is meant for local customizations of disable-common.local

View file

@ -1,3 +1,6 @@
# Local customizations come here
include /etc/firejail/disable-devel.local
# development tools
# GCC

1
etc/disable-devel.local Normal file
View file

@ -0,0 +1 @@
# This file is meant for local customizations of disable-devel.local

View file

@ -1,3 +1,6 @@
# Local customizations come here
include /etc/firejail/disable-passwdmgr.local
blacklist ${HOME}/.pki/nssdb
blacklist ${HOME}/.lastpass
blacklist ${HOME}/.keepassx

View file

@ -0,0 +1 @@
# This file is meant for local customizations of disable-passwdmgr.local

View file

@ -1,3 +1,6 @@
# Local customizations come here
include /etc/firejail/disable-programs.local
blacklist ${HOME}/.*coin
blacklist ${HOME}/.8pecxstudios
blacklist ${HOME}/.Atom

View file

@ -0,0 +1 @@
# This file is meant for local customizations of disable-programs.local

View file

@ -1,3 +1,6 @@
# Local customizations come here
include /etc/firejail/whitelist-common.local
# common whitelist for all profiles
whitelist ~/.XCompose

View file

@ -0,0 +1 @@
# This file is meant for local customizations of whitelist-common.local