summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Dibb <beandog@gentoo.org>2010-01-01 16:11:39 +0000
committerSteve Dibb <beandog@gentoo.org>2010-01-01 16:11:39 +0000
commite73f03895dd54f4c07c266d84fb908bd20f4637e (patch)
tree523cdf3c5d520fd8f11da73dcc0d8cce74eb33d7
parentadd these because they are such a valuable reference (diff)
downloadznurt-org-backend-e73f03895dd54f4c07c266d84fb908bd20f4637e.tar.gz
znurt-org-backend-e73f03895dd54f4c07c266d84fb908bd20f4637e.tar.bz2
znurt-org-backend-e73f03895dd54f4c07c266d84fb908bd20f4637e.zip
add cache_dir
git-svn-id: file:///var/svn/portage@27 3218660a-b0cf-4799-a991-8ddcc5b9e0f3
-rw-r--r--class.portage.category.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/class.portage.category.php b/class.portage.category.php
index 0136c18..7b3ced6 100644
--- a/class.portage.category.php
+++ b/class.portage.category.php
@@ -4,6 +4,7 @@
private $name;
protected $dir;
+ protected $cache_dir;
private $metadata;
private $description;
@@ -28,6 +29,7 @@
$str = basename($str);
$dir = $this->getTree()."/".$str;
+ $this->cache_dir = $this->getTree()."/metadata/cache/".$str;
$this->metadata = $dir."/metadata.xml";
if(is_dir($dir)) {