1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-04 16:14:45 +00:00

chmod for link children too

This commit is contained in:
deadc0de6
2020-11-13 17:41:59 +01:00
parent 1a88599839
commit a6ba5d99bf

View File

@@ -340,9 +340,7 @@ class CfgYaml:
# chmod
if chmod:
lnkval = df_dict.get(self.key_dotfile_link, None)
if lnkval != self.lnk_children:
df_dict[self.key_dotfile_chmod] = str(format(chmod, 'o'))
df_dict[self.key_dotfile_chmod] = str(format(chmod, 'o'))
# add to global dict
self._yaml_dict[self.key_dotfiles][key] = df_dict