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

update doc and tests for link

This commit is contained in:
deadc0de6
2022-05-31 18:24:30 +02:00
committed by deadc0de
parent cda6d08f5f
commit fa1be9d29c
16 changed files with 41 additions and 40 deletions

View File

@@ -224,7 +224,7 @@ def _dotfile_install(opts, dotfile, tmpdir=None):
LinkTypes.LINK, LinkTypes.LINK_CHILDREN,
LinkTypes.RELATIVE, LinkTypes.ABSOLUTE
):
# link|relative|absolute|link_children
# nolink|relative|absolute|link_children
ret, err = inst.install(templ, dotfile.src, dotfile.dst,
dotfile.link,
actionexec=pre_actions_exec,
@@ -645,7 +645,7 @@ def cmd_remove(opts):
k = dotfile.key
# ignore if uses any type of link
if dotfile.link != LinkTypes.NOLINK:
msg = '{} uses link/link_children, remove manually'
msg = '{} uses symlink, remove manually'
LOG.warn(msg.format(k))
continue