aboutsummaryrefslogtreecommitdiffstats
path: root/src/tools
diff options
context:
space:
mode:
authorLibravatar rusty-snake <41237666+rusty-snake@users.noreply.github.com>2021-07-07 16:41:37 +0000
committerLibravatar GitHub <noreply@github.com>2021-07-07 16:41:37 +0000
commit1bb3f617d99a7c13fe4a45797c6358efa4b23d96 (patch)
treecb22d5a4fbd9997c9e8e8cc8c034fb9ab0d16940 /src/tools
parentCreate profcleaner.sh (diff)
downloadfirejail-1bb3f617d99a7c13fe4a45797c6358efa4b23d96.tar.gz
firejail-1bb3f617d99a7c13fe4a45797c6358efa4b23d96.tar.zst
firejail-1bb3f617d99a7c13fe4a45797c6358efa4b23d96.zip
profcleaner.sh: Rename --all to --system
[skip ci]
Diffstat (limited to 'src/tools')
-rwxr-xr-xsrc/tools/profcleaner.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/profcleaner.sh b/src/tools/profcleaner.sh
index 4f6ca88f5..ded3313fa 100755
--- a/src/tools/profcleaner.sh
+++ b/src/tools/profcleaner.sh
@@ -22,14 +22,14 @@ if [[ $1 == --help ]]; then
22 cat <<-EOM 22 cat <<-EOM
23 USAGE: 23 USAGE:
24 profcleaner.sh --help Show this help message and exit 24 profcleaner.sh --help Show this help message and exit
25 profcleaner.sh --all Clean all profiles in /etc/firejail 25 profcleaner.sh --system Clean all profiles in /etc/firejail
26 profcleaner.sh --user Clean all profiles in ~/.config/firejail 26 profcleaner.sh --user Clean all profiles in ~/.config/firejail
27 profcleaner.sh /path/to/profile1 /path/to/profile2 ... 27 profcleaner.sh /path/to/profile1 /path/to/profile2 ...
28 EOM 28 EOM
29 exit 0 29 exit 0
30fi 30fi
31 31
32if [[ $1 == --all ]]; then 32if [[ $1 == --system ]]; then
33 profiles=(/etc/firejail/*.{inc,local,profile}) 33 profiles=(/etc/firejail/*.{inc,local,profile})
34elif [[ $1 == --user ]]; then 34elif [[ $1 == --user ]]; then
35 profiles=("$HOME"/.config/firejail/*.{inc,local,profile}) 35 profiles=("$HOME"/.config/firejail/*.{inc,local,profile})