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:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user