Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#57187 - [zsh] Incorrect etcdir path in listed manpage

Attached to Project: Arch Linux
Opened by Joey Pabalinas (alyptik) - Monday, 22 January 2018, 01:18 GMT
Last edited by Eli Schwartz (eschwartz) - Monday, 22 January 2018, 23:09 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No



Although zsh is built with `--enable-etcdir=/etc/zsh` the manpage hasn't been updated with the new path:

Commands are first read from /etc/zshenv…"

which should say "/etc/zsh/zshenv"; incorrect path will—and has at least once—confused users.

Steps to correct:

INSTALL in the zsh repository says:

"The precompiled documentation comes with startup files listed as being in the /etc directory. If yodl is available, running "touch version.yo" and "make" in the Doc directory should produce correctly substituted documentation."

I recommend packaging yodl and adding it to makedepends to generate correctly substituted documentation during the build.
This task depends upon

Closed by  Eli Schwartz (eschwartz)
Monday, 22 January 2018, 23:09 GMT
Reason for closing:  Duplicate
Additional comments about closing:  FS#48992