On Thu, 2025-03-06 at 06:58 +0100, Helmut Grohne wrote:
> On Sun, Apr 21, 2024 at 05:32:37PM +0000, Mathias Gibbens wrote:
> >    I like that idea, thanks! It would be easy enough to add that to
> > Incus' $PATH while making it simple for an end user to modify their
> > local environment to directly use `mc` if they wish.
> 
> Let me express a concern regarding this route. If we modify $PATH (in
> packages or as an end user), that may subtly break other packages
> expecting a particular behavior. Let me sketch a few examples.

  Ultimately I ended up packaging the MinIO client binary as
`/usr/bin/minio-client` and wrote a brief readme for the package
describing the naming conflict with mc. Then on the Incus side I simply
adjusted the binary name it looks for when searching for the MinIO
client.

Mathias

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to