From 1bb3f617d99a7c13fe4a45797c6358efa4b23d96 Mon Sep 17 00:00:00 2001 From: rusty-snake <41237666+rusty-snake@users.noreply.github.com> Date: Wed, 7 Jul 2021 16:41:37 +0000 Subject: profcleaner.sh: Rename --all to --system [skip ci] --- src/tools/profcleaner.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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 cat <<-EOM USAGE: profcleaner.sh --help Show this help message and exit - profcleaner.sh --all Clean all profiles in /etc/firejail + profcleaner.sh --system Clean all profiles in /etc/firejail profcleaner.sh --user Clean all profiles in ~/.config/firejail profcleaner.sh /path/to/profile1 /path/to/profile2 ... EOM exit 0 fi -if [[ $1 == --all ]]; then +if [[ $1 == --system ]]; then profiles=(/etc/firejail/*.{inc,local,profile}) elif [[ $1 == --user ]]; then profiles=("$HOME"/.config/firejail/*.{inc,local,profile}) -- cgit v1.2.3-70-g09d2