1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-11 17:13:59 +00:00

fix dry on link_children

This commit is contained in:
deadc0de6
2020-11-18 15:07:37 +01:00
parent 48756a295e
commit ef6d78ed45

View File

@@ -261,6 +261,9 @@ class Installer:
""" """
parent = os.path.join(self.base, src) parent = os.path.join(self.base, src)
if not os.path.lexists(dst): if not os.path.lexists(dst):
if self.dry:
self.log.dry('would create directory "{}"'.format(dst))
else:
self.log.sub('creating directory "{}"'.format(dst)) self.log.sub('creating directory "{}"'.format(dst))
os.makedirs(dst) os.makedirs(dst)