Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Binary filename conflict #21

Open
Rudloff opened this issue Feb 8, 2021 · 2 comments
Open

Binary filename conflict #21

Rudloff opened this issue Feb 8, 2021 · 2 comments

Comments

@Rudloff
Copy link

Rudloff commented Feb 8, 2021

When installing smarty-gettext/tsmarty2c 0.2.1, I get this warning:

    Skipped installation of bin bin/tsmarty2c.php for package smarty-gettext/tsmarty2c: name conflicts with an existing file

bin/tsmarty2c.php is declared in both smarty-gettext/tsmarty2c and smarty-gettext/smarty-gettext so Composer does not know which one to put in vendor/bin/.

@glensc
Copy link
Member

glensc commented Feb 9, 2021

Good catch!

As a workaround, You can invoke the intended binary directly from the respective package;

  • vendor/smarty-gettext/tsmarty2c/bin/tsmarty2c.php
  • vendor/smarty-gettext/smarty-gettext/tsmarty2c.php

But I don't have any good idea how to solve this. Any suggestions? Drop binary from smarty-gettext package?

@Rudloff
Copy link
Author

Rudloff commented Feb 9, 2021

If it is now maintained in smarty-gettext/tsmarty2c, I guess it could be removed from smarty-gettext/smarty-gettext.

Another solution would be to use a different filename in each package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants