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