From: cajus Date: Mon, 14 Apr 2008 08:45:28 +0000 (+0000) Subject: Added html and documentation when calling update-gosa X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e7a5ac8b156da87753a8ec0639d8dea15f5d17b4;p=gosa.git Added html and documentation when calling update-gosa git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10389 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/update-gosa b/gosa-core/update-gosa index 616817d12..a223ca7e0 100755 --- a/gosa-core/update-gosa +++ b/gosa-core/update-gosa @@ -417,6 +417,10 @@ function install_plugin($file) /* Calculate destination */ if (preg_match("%^.*locale/%", $source)){ $dest= GOSA_HOME."/locale/plugin/$name/".preg_replace("%^.*locale/%", "", $source); + } elseif (preg_match("%^.*help/%", $source)) { + $dest= GOSA_HOME."/doc/plugin/$name/".preg_replace("%^.*help/%", "", $source); + } elseif (preg_match("%^.*html/%", $source)) { + $dest= GOSA_HOME."/html/$name/".preg_replace("%^.*html/%", "", $source); } else { $dest= GOSA_HOME."/plugins/".substr($entry->getPathName(), strlen($path) + 1); }