diff options
author | 2024-03-03 07:43:14 -0300 | |
---|---|---|
committer | 2024-03-03 10:10:39 -0300 | |
commit | 908e5a1a437bb7907f78fac8cfecdfa92e26bad0 (patch) | |
tree | 98a64c43953f14b3ce8e88c4a5067d004b091444 /etc/profile-m-z | |
parent | RELNOTES: add feature and build items (diff) | |
download | firejail-908e5a1a437bb7907f78fac8cfecdfa92e26bad0.tar.gz firejail-908e5a1a437bb7907f78fac8cfecdfa92e26bad0.tar.zst firejail-908e5a1a437bb7907f78fac8cfecdfa92e26bad0.zip |
build: sort.py: filter empty and duplicate items
Note: This seems to already be done for `protocol` lines.
Before:
$ ./contrib/sort.py test.profile
sort.py: checking 1 profile(s)...
test.profile:1:-private-etc ,,bar,,foo,,bar,,,
test.profile:1:+private-etc ,,,,,,,bar,bar,foo
test.profile:2:-protocol ,,unix,,bluetooth,,unix,,inet,,,
test.profile:2:+protocol unix,inet,bluetooth
[ Fixed ] test.profile
After:
$ ./contrib/sort.py test.profile
sort.py: checking 1 profile(s)...
test.profile:1:-private-etc ,,bar,,foo,,bar,,,
test.profile:1:+private-etc bar,foo
test.profile:2:-protocol ,,unix,,bluetooth,,unix,,inet,,,
test.profile:2:+protocol unix,inet,bluetooth
[ Fixed ] test.profile
Diffstat (limited to 'etc/profile-m-z')
0 files changed, 0 insertions, 0 deletions