Skip to content

Commit

Permalink
install: Install manpages into /usr/share/man
Browse files Browse the repository at this point in the history
Currently we install manpages into /usr/man but they end up in
/usr/share/man anyway, because of the /usr/man -> /usr/share/man
symlink.

The problem is, that the bee index is wrong and, for example, `bee query`
doesn't identify the source of the files in /usr/share/man. According to
FHS [1], /usr/share/man is the correct destination.

Fix install script to use /usr/share/man instead of /usr/man.

[1] https://refspecs.linuxfoundation.org/FHS_3.0/fhs-3.0.html
  • Loading branch information
donald committed Sep 15, 2021
1 parent de3a326 commit b99fd7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ fi
: ${usr_exec_prefix:=$usr_prefix}
: ${usr_bindir:=$usr_exec_prefix/bin}
: ${usr_sbindir:=$usr_exec_prefix/sbin}
: ${usr_mandir:=$usr_exec_prefix/man}
: ${usr_mandir:=$usr_exec_prefix/share/man}

: ${usrlocal_exec_prefix:=$usrlocal_prefix}
: ${usrlocal_bindir:=$usrlocal_exec_prefix/bin}
Expand Down

0 comments on commit b99fd7c

Please sign in to comment.