From a26798fc48bc646a8c6fa798ee1e4e1993de0dfe Mon Sep 17 00:00:00 2001 From: cajus Date: Mon, 21 Jan 2008 15:43:47 +0000 Subject: [PATCH] Updated build/and update git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8526 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/debian/rules | 1 + gosa-core/update-gosa | 16 +++++++++++----- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/gosa-core/debian/rules b/gosa-core/debian/rules index e1699bea6..46166f3ae 100755 --- a/gosa-core/debian/rules +++ b/gosa-core/debian/rules @@ -92,6 +92,7 @@ install-stamp: # Clean up -rm -rf debian/gosa/usr/share/gosa/contrib + -rm -rf debian/gosa/usr/share/gosa/state -rm -rf debian/gosa/usr/share/gosa/locale/en -rm -rf debian/gosa/usr/share/gosa/update-locale -rm -rf debian/gosa/usr/share/gosa/update-pdf-help diff --git a/gosa-core/update-gosa b/gosa-core/update-gosa index 89b83232d..2907dee96 100755 --- a/gosa-core/update-gosa +++ b/gosa-core/update-gosa @@ -2,15 +2,13 @@ update-gosa - class cache updated and plugin manager for GOsa -Usage: update-gosa Update the class cache - - update-gosa install-plugin dir Install the plugin placed in "dir" to +Usage: update-gosa install-plugin dir Install the plugin placed in "dir" to the GOsa tree. update-gosa remove-plugin plugin Remove the plugin named "plugin" from @@ -22,6 +20,7 @@ Usage: update-gosa Update the class cache update-gosa rescan-classes Rebuilds the class list + update-gosa Shortcut for rescan-classes and rescan-i18n isDir() && !preg_match('/^\./', $dir->__toString())){ @@ -258,7 +263,8 @@ $description= $provides= $depends= array(); /* Action specified? */ if ($argc < 2){ - print_usage(); + rescan_classes(); + rescan_i18n(); exit (0); } switch ($argv[1]){ -- 2.30.2