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

Install hashbang man page to /usr/local instead of /etc #95

Open
RyanSquared opened this issue Mar 12, 2019 · 2 comments
Open

Install hashbang man page to /usr/local instead of /etc #95

RyanSquared opened this issue Mar 12, 2019 · 2 comments

Comments

@RyanSquared
Copy link
Member

Currently affected: lo1

Reported by @infrastation

@infrastation
Copy link
Contributor

Specifically, man hashbang works on to1, but not on lo1 (both have /etc/man/man7/hashbang.7)

dovsienko@to1:~$ echo $MANPATH
/usr/local/man:/usr/local/share/man:/usr/share/man:/etc/man
dovsienko@lo1:~$ echo $MANPATH
/usr/local/man:/usr/local/share/man:/usr/share/man
--- manpath.config.to1	2019-03-12 12:28:29.281358838 +0000
+++ manpath.config.lo1	2019-03-12 12:27:47.629359275 +0000
@@ -20,7 +20,6 @@
 MANDATORY_MANPATH			/usr/man
 MANDATORY_MANPATH			/usr/share/man
 MANDATORY_MANPATH			/usr/local/share/man
-MANDATORY_MANPATH			/etc/man
 #---------------------------------------------------------
 # set up PATH to MANPATH mapping
 # ie. what man tree holds man pages for what binary directory.
@@ -70,14 +69,13 @@
 MANDB_MAP	/usr/local/share/man	/var/cache/man/local
 MANDB_MAP	/usr/X11R6/man		/var/cache/man/X11R6
 MANDB_MAP	/opt/man		/var/cache/man/opt
-MANDB_MAP	/etc/man		/var/cache/man/etc
 #
 #---------------------------------------------------------
 # Program definitions.  These are commented out by default as the value
 # of the definition is already the default.  To change: uncomment a
 # definition and modify it.
 #
-#DEFINE 	pager	pager -s
+#DEFINE 	pager	pager
 #DEFINE 	cat	cat
 #DEFINE 	tr	tr '\255\267\264\327' '\055\157\047\170'
 #DEFINE		grep	grep
@@ -110,7 +108,7 @@
 # particular order. Sections with extensions should usually be adjacent to
 # their main section (e.g. "1 1mh 8 ...").
 #
-SECTION		1 n l 8 3 2 3posix 3pm 3perl 5 4 9 6 7
+SECTION		1 n l 8 3 2 3posix 3pm 3perl 3am 5 4 9 6 7
 #
 #---------------------------------------------------------
 # Range of terminal widths permitted when displaying cat pages. If the

The only mention of "manpath" in the current master branch is in "Setup zsh manpath", which looks unrelated to the configuration above.

@infrastation
Copy link
Contributor

As it was discussed on IRC, a cleaner solution would be to install project's man pages into /usr/local/man or /usr/local/share/man.

@RyanSquared RyanSquared changed the title Configure manpath via Ansible Install hashbang man page to /usr/local instead of /etc Mar 19, 2019
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

No branches or pull requests

2 participants