aboutsummaryrefslogtreecommitdiff
path: root/hooks/gnu_info_index.bash
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-08-11 13:18:15 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-08-11 13:19:15 +0100
commitb0323df4b269bcf8d027252b30701f8fe37f569c (patch)
treed0eb843cd4e69f40388a95516bb20aff2f683b1a /hooks/gnu_info_index.bash
parent78de0f647dfff565df4794afd59e4447abf8deff (diff)
downloadpaludis-b0323df4b269bcf8d027252b30701f8fe37f569c.tar.gz
paludis-b0323df4b269bcf8d027252b30701f8fe37f569c.tar.xz
Update hooks to use cave
Diffstat (limited to 'hooks/gnu_info_index.bash')
-rwxr-xr-xhooks/gnu_info_index.bash4
1 files changed, 2 insertions, 2 deletions
diff --git a/hooks/gnu_info_index.bash b/hooks/gnu_info_index.bash
index ce9337438..f899ff53d 100755
--- a/hooks/gnu_info_index.bash
+++ b/hooks/gnu_info_index.bash
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
# vim: set et sw=4 sts=4 :
-# Copyright (c) 2006, 2007, 2008, 2009 Ciaran McCreesh
+# Copyright (c) 2006, 2007, 2008, 2009, 2010 Ciaran McCreesh
#
# This file is part of the Paludis package manager. Paludis is free software;
# you can redistribute it and/or modify it under the terms of the GNU General
@@ -31,7 +31,7 @@ einfo_unhooked "Checking whether the GNU info directory needs updating..."
export INFOPATH=$(source /etc/profile.env 2>/dev/null ; echo $INFOPATH )
regen_info_dirs=
-vdb_loc=$(${PALUDIS_COMMAND} --configuration-variable installed location )
+vdb_loc=$(${CAVE:-cave} print-repository-metadata installed --raw-name location --format '%v' )
for info_path in ${INFOPATH//:/ } ; do
info_path="${ROOT%/}/${info_path}"
[[ -d "${info_path}" ]] || continue