mirror of
https://github.com/TheLocehiliosan/yadm
synced 2024-10-27 20:34:27 +00:00
Merge pull request #174 from rasa/fix-parent-dir-globbing
This commit is contained in:
commit
c222644f8c
4
yadm
4
yadm
@ -1045,12 +1045,12 @@ function perms() {
|
||||
|
||||
# include all .ssh files (unless disabled)
|
||||
if [[ $(config --bool yadm.ssh-perms) != "false" ]] ; then
|
||||
GLOBS+=(".ssh" ".ssh/*" ".ssh/.*")
|
||||
GLOBS+=(".ssh" ".ssh/*" ".ssh/.[!.]*")
|
||||
fi
|
||||
|
||||
# include all gpg files (unless disabled)
|
||||
if [[ $(config --bool yadm.gpg-perms) != "false" ]] ; then
|
||||
GLOBS+=(".gnupg" ".gnupg/*" ".gnupg/.*")
|
||||
GLOBS+=(".gnupg" ".gnupg/*" ".gnupg/.[!.]*")
|
||||
fi
|
||||
|
||||
# include any files we encrypt
|
||||
|
Loading…
Reference in New Issue
Block a user