mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-07 00:45:38 +00:00
Merge upstream
This commit is contained in:
@@ -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']
|
||||
|
||||
@@ -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])
|
||||
|
||||
Reference in New Issue
Block a user