mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-04 19:09:44 +00:00
more debug logs
This commit is contained in:
@@ -523,7 +523,12 @@ def cmd_importer(o):
|
||||
|
||||
chmod = None
|
||||
dflperm = get_default_file_perms(dst, o.umask)
|
||||
|
||||
if o.debug:
|
||||
LOG.dbg('import mode: {}'.format(o.import_mode))
|
||||
if o.import_mode or perm != dflperm:
|
||||
if o.debug:
|
||||
LOG.dbg('adopt mode {:o} (umask {:o})'.format(perm, dflperm))
|
||||
# insert chmod
|
||||
chmod = perm
|
||||
retconf = o.conf.new(src, dst, linktype, chmod=chmod)
|
||||
|
||||
Reference in New Issue
Block a user