summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6f481ec)
raw | patch | inline | side by side (parent: 6f481ec)
author | janw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 14 Apr 2008 09:42:48 +0000 (09:42 +0000) | ||
committer | janw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 14 Apr 2008 09:42:48 +0000 (09:42 +0000) |
Added check.
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10401 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10401 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/update-gosa | patch | blob | history |
diff --git a/gosa-core/update-gosa b/gosa-core/update-gosa
index 73eb2c69f47a89d65dc48e2f5c69a5101f3c29c5..e10df6e50823214fd63e726dfd38633f6b7eefa5 100755 (executable)
--- a/gosa-core/update-gosa
+++ b/gosa-core/update-gosa
update-gosa remove plugin Remove the plugin named "plugin" from
the current configuration.
- update-gosa lists Lists installed plugins
+ update-gosa list Lists installed plugins
update-gosa rescan-i18n Rebuilds the translations
$master_guide_content.= file_get_contents($guide);
}
- $plugins= scandir('doc/plugins');
- foreach($plugins as $key => $plugin) {
- if($plugin != '.' && $plugin != '..') {
- if(is_dir('doc/plugins/'.$plugin)) {
- $guide= 'doc/plugins/'.$plugin.'/guide.xml';
- if(file_exists($guide) && is_readable($guide)) {
- $master_guide_content.= file_get_contents($guide);
+ if(file_exists('doc/plugins')) {
+ $plugins= scandir('doc/plugins');
+ foreach($plugins as $key => $plugin) {
+ if($plugin != '.' && $plugin != '..') {
+ if(is_dir('doc/plugins/'.$plugin)) {
+ $guide= 'doc/plugins/'.$plugin.'/guide.xml';
+ if(file_exists($guide) && is_readable($guide)) {
+ $master_guide_content.= file_get_contents($guide);
+ }
}
}
}