Skip to content

pkg_install fails if writing a symlink over an existing file #997

@tonyaiuto

Description

@tonyaiuto

All the actions in pkg_install can be applied onto an existing destination tree. Directories can be created even if they exist. Destination files are silently replaced. But symlinks fail. This is most easily observed by running an install to the same destdir twice.

An easy fix might be to delete the destination first on a symlink.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions