Skip to content

Wrong binary is installed when there are multiple files with same binary basename #261

Description

@dieddc

Example tool fd

installing this on amd system will choose the asset fd-v10.1.0-x86_64-unknown-linux-gnu.tar
This archive has the files:
fd 4Mb is the correct binary
fd.1 17k, not a binary

When installing this the second file will be installed.

current config:

  fd:
    description: A simple, fast and user-friendly alternative to 'find'
    url: https://github.com/sharkdp/fd/
    list:
      type: github-releases
      url: https://api.github.com/repos/sharkdp/fd/releases
    fetch:
      url: https://github.com/sharkdp/fd/releases/download/v{{ .Version }}/fd-v{{ .Version }}-x86_64-unknown-{{ .OS }}-gnu.tar.gz
    install:
      type: tgz
      binaries:
        - fd

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions