summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0faf30f)
raw | patch | inline | side by side (parent: 0faf30f)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 22 Jan 2008 16:06:40 +0000 (16:06 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 22 Jan 2008 16:06:40 +0000 (16:06 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8542 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 f9c51ee19881144dd38b39484e5ae19f6cb157fe..d869bf89904e54c18dbc1b536a047f00e9773f07 100755 (executable)
--- a/gosa-core/update-gosa
+++ b/gosa-core/update-gosa
{
?>
update-gosa - class cache updated and plugin manager for GOsa
-Usage: update-gosa install-plugin dsc Install the plugin using the dsc information
- placed in the plugin source directory.
+Usage: update-gosa install dsc Install the plugin using the dsc information
+ placed in the plugin source directory.
- update-gosa remove-plugin plugin Remove the plugin named "plugin" from
- the current configuration.
+ update-gosa remove plugin Remove the plugin named "plugin" from
+ the current configuration.
- update-gosa list-plugins Lists installed plugins
+ update-gosa lists Lists installed plugins
- update-gosa rescan-i18n Rebuilds the translations
+ update-gosa rescan-i18n Rebuilds the translations
- update-gosa rescan-classes Rebuilds the class list
+ update-gosa rescan-classes Rebuilds the class list
- update-gosa Shortcut for rescan-classes and rescan-i18n
+ update-gosa Shortcut for rescan-classes and rescan-i18n
<?php
exit (1);
}
if (isset($tmp['gosa-plugin'])){
$plugin= &$tmp['gosa-plugin'];
- if (isset($plugin['name'])&& isset($plugin['description']) && isset($plugin['provides'])){
+ if (isset($plugin['name'])&& isset($plugin['description'])){
$res= $plugin['name'];
$provides[$res]= $plugin[$res];
$description[$res]= $plugin['description'];
}
switch ($argv[1]){
- case 'install-plugin':
+ case 'install':
if (isset($argv[2])){
install_plugin($argv[2]);
} else {
exit (1);
}
break;
- case 'list-plugins':
+ case 'list':
list_plugins();
break;
- case 'remove-plugin':
+ case 'remove':
echo "remove\n";
break;
case 'rescan-i18n':