diff options
-rwxr-xr-x | src/tools/profcleaner.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/tools/profcleaner.sh b/src/tools/profcleaner.sh index ded3313fa..709008e08 100755 --- a/src/tools/profcleaner.sh +++ b/src/tools/profcleaner.sh | |||
@@ -37,9 +37,9 @@ else | |||
37 | profiles=("$@") | 37 | profiles=("$@") |
38 | fi | 38 | fi |
39 | 39 | ||
40 | sed -i \ | 40 | sed -i -E \ |
41 | -e "s/^blacklist/deny/" \ | 41 | -e "s/^(# |#)?blacklist/\1deny/" \ |
42 | -e "s/^noblacklist/nodeny/" \ | 42 | -e "s/^(# |#)?noblacklist/\1nodeny/" \ |
43 | -e "s/^whitelist/allow/" \ | 43 | -e "s/^(# |#)?whitelist/\1allow/" \ |
44 | -e "s/^nowhitelist/noallow/" \ | 44 | -e "s/^(# |#)?nowhitelist/\1noallow/" \ |
45 | "${profiles[@]}" | 45 | "${profiles[@]}" |