diff --git a/dotdrop/dotdrop.py b/dotdrop/dotdrop.py index 77ff1df..d807b6f 100644 --- a/dotdrop/dotdrop.py +++ b/dotdrop/dotdrop.py @@ -457,6 +457,12 @@ def cmd_remove(o): LOG.warn('{} ignored, does not exist'.format(key)) continue k = key + + # ignore if uses any type of link + if dotfile.link != LinkTypes.NOLINK: + LOG.warn('dotfile uses link, remove manually') + continue + if o.debug: LOG.dbg('removing {}'.format(key))