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

Distribution-based package formats install binary at the wrong place #247

Closed
rlko opened this issue Apr 18, 2024 · 1 comment · Fixed by #249
Closed

Distribution-based package formats install binary at the wrong place #247

rlko opened this issue Apr 18, 2024 · 1 comment · Fixed by #249

Comments

@rlko
Copy link

rlko commented Apr 18, 2024

Greetings, first of all thank you for this project, been using a lot at my corpa job.

I just came here to report you that, I think most, if not all of distribution-based package formats (deb, rpm) are installing the binary in a place that does not belong in the default PATH environment variable.

$ dpkg-deb --contents upterm_linux_amd64.deb
drwxr-xr-x root/root         0 2024-04-17 18:39 ./usr/
-rwxr-xr-x root/root  14704640 2024-04-17 18:38 ./usr/upterm
$ rpm -qlp upterm_linux_amd64.rpm
/usr/upterm

I think you meant to place this in /usr/bin/ and not /usr

It's been like this for quite a while ever since you started making deb/rpm releases basically, and I thought you would eventually figure out with time or someone would report it earlier.

@owenthereal
Copy link
Owner

Thanks for reporting this. The fix should be rolled out at the next release.

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