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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user