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

Hard-coded default path to man-pages #43

Open
Tracked by #27
stv0g opened this issue Jul 31, 2023 · 1 comment
Open
Tracked by #27

Hard-coded default path to man-pages #43

stv0g opened this issue Jul 31, 2023 · 1 comment

Comments

@stv0g
Copy link
Collaborator

stv0g commented Jul 31, 2023

By @koraa in #27 (comment)

https://github.com/stv0g/go-rosenpass/blob/d7e38ecaf9e7803f2824a03ac24ac34944a53af6/cmd/main.go#L104

Severity: A (Functionality) – Path to man pages hard coded (will be incompatible with installing as a system package)

@stv0g
Copy link
Collaborator Author

stv0g commented Jul 31, 2023

The hard-coded path is in fact just a default value and can be overwritten by the user via a CLI flag.

Determining a suitable install location for the generated man-pages is actually not so easy as its itself configurable via /etc/manpath.config or ~/.manpath.

See:

I am open to change the behaviour, if we can find a better way to identify a good man-page install location.

(/usr/local/share/man/man1 should be standardized by the FHS)

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

No branches or pull requests

1 participant