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

Merge upstream

This commit is contained in:
Marcel Robitaille
2019-01-28 18:30:23 -04:00
2 changed files with 4 additions and 2 deletions

View File

@@ -443,7 +443,9 @@ def main():
opts['profile'] = args['--profile']
opts['safe'] = not args['--force']
opts['installdiff'] = not args['--nodiff']
opts['link'] = args['--inv-link']
opts['link'] = opts['link_by_default']
if args['--inv-link']:
opts['link'] = not opts['link']
opts['debug'] = args['--verbose']
opts['variables'] = conf.get_variables(opts['profile'])
opts['showdiff'] = opts['showdiff'] or args['--showdiff']

View File

@@ -116,7 +116,7 @@ class Updater:
dotfiles = self.conf.get_dotfiles(profile)
subs = [d for d in dotfiles if d.key == key]
if not subs:
self.log.err('key \"{}\" not found!'.format(path))
self.log.err('key \"{}\" not found!'.format(key))
return None
if len(subs) > 1:
found = ','.join([d.src for d in dotfiles])