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

fix:[#420] abort export if bin in $PATH #421

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jardon
Copy link
Member

@jardon jardon commented Oct 25, 2024

  • abort if bin or output in $PATH
  • en translation for abort message
$ ./apx snapcraft export -b ls
Error: Binary already exists on the host.
Usage:
  apx snapcraft export [flags]

Flags:
  -a, --app-name string     The name of the application to export.
  -b, --bin string          The name of the binary to export.
  -o, --bin-output string   Path of the binary output (default: ~/.local/bin/).
  -h, --help                help for export

  ERROR   Binary already exists on the host.

closes #420

- abort if bin or output in $PATH
- en translation for abort message
@axtloss
Copy link
Member

axtloss commented Oct 25, 2024

We didn't agree on any way to solve the issue yet, currently there are multiple solutions proposed, we should wait until we agree on a solution first

@jardon jardon marked this pull request as draft October 25, 2024 11:39
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

Successfully merging this pull request may close these issues.

[Bug] Exporting Podman breaks system
2 participants