mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-09 06:34:16 +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)
|
parent = os.path.join(self.base, src)
|
||||||
if not os.path.lexists(dst):
|
if not os.path.lexists(dst):
|
||||||
self.log.sub('creating directory "{}"'.format(dst))
|
if self.dry:
|
||||||
os.makedirs(dst)
|
self.log.dry('would create directory "{}"'.format(dst))
|
||||||
|
else:
|
||||||
|
self.log.sub('creating directory "{}"'.format(dst))
|
||||||
|
os.makedirs(dst)
|
||||||
|
|
||||||
if os.path.isfile(dst):
|
if os.path.isfile(dst):
|
||||||
msg = ''.join([
|
msg = ''.join([
|
||||||
|
|||||||
Reference in New Issue
Block a user