1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-07 10:00:48 +00:00

refactor link default config variables

This commit is contained in:
deadc0de6
2019-03-29 14:43:08 +01:00
parent 018be3be40
commit 3e58857d43
9 changed files with 362 additions and 62 deletions

View File

@@ -239,7 +239,7 @@ def cmd_importer(o):
# create a new dotfile
dotfile = Dotfile('', dst, src)
linktype = LinkTypes(o.link)
linktype = LinkTypes(o.import_link)
if o.debug:
LOG.dbg('new dotfile: {}'.format(dotfile))
@@ -453,6 +453,10 @@ def main():
LOG.err('interrupted')
ret = False
if ret and o.conf.is_modified():
LOG.log('config file updated')
o.conf.save()
return ret