commit 60c6569bba667d8456989ac592b54717e753c42e
parent 8e8b01d03f9d4643208d68f3c32eb01b75ce8ece
Author: ccx <root@dorje.wpr.cz>
Date: Fri, 16 Sep 2022 11:27:25 +0200
Fix setting installed directories immutable via find
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/install b/install
@@ -92,7 +92,7 @@ recursive_immutable() {
## Noisy but hopefully appropriate exitcode
#chattr -R -f +i "$@"
## Skips warnings on symlinks but exitcode might not be useful
- find "$@" -depth \! -o -type l -exec chattr +i '{}' +
+ find "$@" -depth \! -type l -exec chattr +i '{}' +
## Skip lockfiles so they can be opened read-write
# find "$@" -depth -name lock \! -o -type l -exec chattr +i '{}' +
}