Skip to content

Force overwriting the symlink to the installed binary did not work #20

@shenxianpeng

Description

@shenxianpeng

When the specific version (v12) of clang-tools was installed, trying to force overwriting the symlink to the installed library did not work.

ubuntu@CN-L:~/clang-tools-pip$ clang-format --version
clang-format version 7.1.0 (tags/RELEASE_710/final)

ubuntu@CN-L:~/clang-tools-pip$ clang-tools -i 12 -f
clang-format-12 already installed
clang-tidy-12 already installed

ubuntu@CN-L:~/clang-tools-pip$ clang-format --version
clang-format version 7.1.0 (tags/RELEASE_710/final)

Root cause: here return the false directly, also need to check overwrite: bool

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions