From: Gunnar Wrobel
Date: Wed, 26 Jan 2011 09:34:12 +0000 (+0100)
Subject: Support the content package and add a package.xml for it.
X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=939bd29d7c7525e9daf0b59d9438c53b42667881;p=horde.git
Support the content package and add a package.xml for it.
---
diff --git a/components/lib/Components/Pear/Package/Contents/Factory.php b/components/lib/Components/Pear/Package/Contents/Factory.php
index 477328913..4e6a7d992 100644
--- a/components/lib/Components/Pear/Package/Contents/Factory.php
+++ b/components/lib/Components/Pear/Package/Contents/Factory.php
@@ -108,6 +108,7 @@ class Components_Pear_Package_Contents_Factory
private function _getRoles($path)
{
switch ($path) {
+ case 'content/':
case 'horde/':
case 'imp/':
case 'ingo/':
diff --git a/components/lib/Components/Pear/Package/Filelist/Default.php b/components/lib/Components/Pear/Package/Filelist/Default.php
index d98965bba..dde2e0ef6 100644
--- a/components/lib/Components/Pear/Package/Filelist/Default.php
+++ b/components/lib/Components/Pear/Package/Filelist/Default.php
@@ -76,7 +76,7 @@ class Components_Pear_Package_Filelist_Default
$horde_role = true;
if (in_array(
$this->_package->getName(),
- array('imp', 'ingo', 'kronolith', 'mnemo', 'nag', 'turba')
+ array('content', 'imp', 'ingo', 'kronolith', 'mnemo', 'nag', 'turba')
)) {
$prefix = $this->_package->getName() . '/';
} else {
diff --git a/content/package.xml b/content/package.xml
new file mode 100644
index 000000000..33ee91209
--- /dev/null
+++ b/content/package.xml
@@ -0,0 +1,175 @@
+
+