aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-07-31 04:56:21 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-07-31 04:56:21 +0000
commite8f1d376b71844922fd4c340c6b00090482a91de (patch)
treeaab212f2b710a80df350a087c1f517bd18d9ad5e
parent5f2d26911c4ae934e68bbf6b80b5f005eaa18471 (diff)
downloadpaludis-e8f1d376b71844922fd4c340c6b00090482a91de.tar.gz
paludis-e8f1d376b71844922fd4c340c6b00090482a91de.tar.xz
Add portageq vdb_path emulation
-rw-r--r--ebuild/portage_stubs.bash7
1 files changed, 7 insertions, 0 deletions
diff --git a/ebuild/portage_stubs.bash b/ebuild/portage_stubs.bash
index 30a1411..9021a24 100644
--- a/ebuild/portage_stubs.bash
+++ b/ebuild/portage_stubs.bash
@@ -45,6 +45,8 @@ portageq()
shift ; shift
best_version "$@"
fi
+ elif [[ "$1" == "vdb_path" ]] ; then
+ vdb_path
else
eerror "Error emulating 'portageq $@':"
die "portageq emulation for $1 not implemented"
@@ -56,6 +58,11 @@ best_version()
${PALUDIS_COMMAND} --best-version "$@"
}
+vdb_path()
+{
+ ${PALUDIS_COMMAND} --configuration-variable installed location
+}
+
check_KV()
{
die "check_KV not implenented"