Replace '[ -d "/home/$i/.ecryptfs" -o -L "/home/$i/.ecryptfs" ]' with '[
-d "/home/$i/.ecryptfs" ] || [ -L "/home/$i/.ecryptfs" ]' for
portability. (Actually, do you even need to do both checks? -d returns
true if given a symlink to a directory.)

Otherwise I think this is fine.

-- 
prevent ecryptfs-utils from being uninstalled if in use
https://bugs.launchpad.net/bugs/331085
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to