From f38e2507cd15b0610fc80812ed0edbca79764654 Mon Sep 17 00:00:00 2001 From: "Aaron W. Swenson" Date: Mon, 18 Apr 2011 20:45:11 -0400 Subject: Fixed MAN page search paths. --- postgresql.eselect | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/postgresql.eselect b/postgresql.eselect index 21eb803..0cc2fdf 100644 --- a/postgresql.eselect +++ b/postgresql.eselect @@ -304,7 +304,7 @@ do_update() { ldpath+="${B_PATH}/${x}/postgresql:" done ldpath="${ldpath%:}" - local manpath="${B_PATH}/share/postgresql/" + local manpath="${B_PATH}/share/postgresql/man/" while [[ $[--index] -gt -1 ]] ; do local curslot="${slots[$index]}" echo -n "Refreshing symbolic links for ${curslot} applications (like " @@ -313,8 +313,8 @@ do_update() { local lib_path="${B_PATH}/${x}/postgresql-${curslot}/${x}/" [[ -d ${lib_path} ]] && ldpath+=":${lib_path}" done - local share_path="${B_PATH}/share/postgresql-${curslot}/" - [[ -d ${share_path} ]] && manpath+=":${share_path}" + local tmp_manpath="${B_PATH}/share/postgresql-${curslot}/man/" + [[ -d ${tmp_manpath} ]] && manpath+=":${tmp_manpath}" linker "${B_PATH}/$(lib_dir)/postgresql-${curslot}/bin" \ "-xtype f" "${B_PATH}/bin" "${curslot//.}" echo "done." -- cgit v1.2.3-65-gdbad