diff options
author | rusty-snake <41237666+rusty-snake@users.noreply.github.com> | 2021-07-07 16:41:37 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-07 16:41:37 +0000 |
commit | 1bb3f617d99a7c13fe4a45797c6358efa4b23d96 (patch) | |
tree | cb22d5a4fbd9997c9e8e8cc8c034fb9ab0d16940 | |
parent | Create profcleaner.sh (diff) | |
download | firejail-1bb3f617d99a7c13fe4a45797c6358efa4b23d96.tar.gz firejail-1bb3f617d99a7c13fe4a45797c6358efa4b23d96.tar.zst firejail-1bb3f617d99a7c13fe4a45797c6358efa4b23d96.zip |
profcleaner.sh: Rename --all to --system
[skip ci]
-rwxr-xr-x | src/tools/profcleaner.sh | 4 |
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 |
30 | fi | 30 | fi |
31 | 31 | ||
32 | if [[ $1 == --all ]]; then | 32 | if [[ $1 == --system ]]; then |
33 | profiles=(/etc/firejail/*.{inc,local,profile}) | 33 | profiles=(/etc/firejail/*.{inc,local,profile}) |
34 | elif [[ $1 == --user ]]; then | 34 | elif [[ $1 == --user ]]; then |
35 | profiles=("$HOME"/.config/firejail/*.{inc,local,profile}) | 35 | profiles=("$HOME"/.config/firejail/*.{inc,local,profile}) |