From b9e74120dd771e077c29355192827b12fc15a631 Mon Sep 17 00:00:00 2001 From: Glenn Washburn Date: Wed, 10 Oct 2018 04:45:48 -0500 Subject: Update documentation for profile conditionals. --- src/man/firejail-profile.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/man/firejail-profile.txt') diff --git a/src/man/firejail-profile.txt b/src/man/firejail-profile.txt index 5daca8abd..ca7b52a51 100644 --- a/src/man/firejail-profile.txt +++ b/src/man/firejail-profile.txt @@ -86,6 +86,18 @@ Example: "blacklist ~/My Virtual Machines" .TP \fB# this is a comment +.TP +\fB?CONDITIONAL: profile line +Conditionally add profile line. + +Example: "?HAS_APPIMAGE: whitelist ${HOME}/special/appimage/dir" + +This example will load the whitelist profile line only if the \-\-appimage option has been specified on the command line. + +Currently the only conditional supported is HAS_APPIMAGE. + +The profile line may be any profile line that you would normally use in a profile \fBexcept\fR for "quiet" and "include" lines. + .TP \fBinclude other.profile Include other.profile file. -- cgit v1.2.3-54-g00ecf