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: Update APX default options to locate Distrobox in a different path #362

Closed
nellfs opened this issue Jun 15, 2024 · 1 comment · Fixed by #363
Closed

Fix: Update APX default options to locate Distrobox in a different path #362

nellfs opened this issue Jun 15, 2024 · 1 comment · Fixed by #363

Comments

@nellfs
Copy link
Contributor

nellfs commented Jun 15, 2024

The default path for the Distrobox curl installation is /usr/local/bin/distrobox, but the default APX config expects it to be at /usr/share/apx/distrobox/distrobox, this causes the APX to panic with the message: distrobox is not installed if the user tries to run without using the expected path.

A better approach seems to check in the PATH instead, and use it from there, so Distrobox would be found regardless of where it was installed.

@mirkobrombin
Copy link
Member

At least in vanilla os, it should always give priority /usr/share/apx/distrobox/distrobox since we need to keep control over it. Maybe the $PATH can be used if that is not available.

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 a pull request may close this issue.

2 participants