diff options
-rw-r--r-- | postgresql.eselect | 6 |
1 files 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." |