mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-04 19:09:44 +00:00
fix dry on link_children
This commit is contained in:
@@ -261,8 +261,11 @@ class Installer:
|
||||
"""
|
||||
parent = os.path.join(self.base, src)
|
||||
if not os.path.lexists(dst):
|
||||
self.log.sub('creating directory "{}"'.format(dst))
|
||||
os.makedirs(dst)
|
||||
if self.dry:
|
||||
self.log.dry('would create directory "{}"'.format(dst))
|
||||
else:
|
||||
self.log.sub('creating directory "{}"'.format(dst))
|
||||
os.makedirs(dst)
|
||||
|
||||
if os.path.isfile(dst):
|
||||
msg = ''.join([
|
||||
|
||||
Reference in New Issue
Block a user