aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron W. Swenson <titanofold@gentoo.org>2011-04-18 20:45:11 -0400
committerAaron W. Swenson <titanofold@gentoo.org>2011-04-18 20:45:11 -0400
commitf38e2507cd15b0610fc80812ed0edbca79764654 (patch)
tree4ea4f65d014759c64d5b45b9a145e45b4160009e
parentSpecific to the module. (diff)
downloadeselect-f38e2507cd15b0610fc80812ed0edbca79764654.tar.gz
eselect-f38e2507cd15b0610fc80812ed0edbca79764654.tar.bz2
eselect-f38e2507cd15b0610fc80812ed0edbca79764654.zip
Fixed MAN page search paths.
-rw-r--r--postgresql.eselect6
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."