Skip to content

fcli tool * install: Failure to detect/re-register existing installation if already registered in different path #976

@rsenden

Description

@rsenden

Current Behavior

Image

In the screenshot above, first part shows expected behavior; when pointing to an existing installation directory without any existing registrations for that tool version, fcli detects that the path contains an existing installation and shows SKIPPED_EXISTING.

However, if a registration exists for the same tool version in a different directory (as through the installation to the /tmp/test-install/2 directory), fcli fails with a non-empty target path error, instead of recognizing the existing installation and re-registering it.

Expected Behavior

The last command in the screenshot above should register the existing installation in /tmp/test-install/1 and output SKIPPED_EXISTING action instead of failing with an exception.

Steps To Reproduce

See screenshot

Environment

Anything else?

Likely closely related to #975

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions