1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-06 02:02:58 +00:00

debug logs

This commit is contained in:
deadc0de6
2021-11-18 15:14:21 +01:00
parent bb17caf90c
commit 567c7713ef
2 changed files with 5 additions and 0 deletions

View File

@@ -306,11 +306,15 @@ def cmd_install(opts):
# filtered dotfiles to install
uniq = uniq_list(opts.install_keys)
dotfiles = [d for d in dotfiles if d.key in uniq]
if not dotfiles:
msg = 'no dotfile to install for this profile (\"{}\")'
LOG.warn(msg.format(opts.profile))
return False
LOG.dbg('dotfiles registered for install: {}'.format(
[k.key for k in dotfiles]))
# the installer
tmpdir = None
if opts.install_temporary: