diff options
Diffstat (limited to 'src/tools/profcleaner.sh')
-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}) |