From 8963519b5f3ac47f94a003f313a37fc39782eed2 Mon Sep 17 00:00:00 2001 From: cajus Date: Mon, 21 Jan 2008 14:44:52 +0000 Subject: [PATCH] Updated update-gosa git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8522 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/functions.inc | 2 +- gosa-core/{re-generate-mo-will-move => update-gosa} | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) rename gosa-core/{re-generate-mo-will-move => update-gosa} (99%) diff --git a/gosa-core/include/functions.inc b/gosa-core/include/functions.inc index 48e1db979..d04c19ce9 100644 --- a/gosa-core/include/functions.inc +++ b/gosa-core/include/functions.inc @@ -95,7 +95,7 @@ function __autoload($class_name) { global $class_mapping, $BASE_DIR; if ($class_mapping === NULL){ - echo sprintf(_("Fatal error: no class locations defined - please run '%s' to fix this"), "update-gosa"); + echo sprintf(_("Fatal error: no class locations defined - please run '%s' to fix this"), "update-gosa rescan-classes"); exit; } diff --git a/gosa-core/re-generate-mo-will-move b/gosa-core/update-gosa similarity index 99% rename from gosa-core/re-generate-mo-will-move rename to gosa-core/update-gosa index cf51485e9..a50368d37 100755 --- a/gosa-core/re-generate-mo-will-move +++ b/gosa-core/update-gosa @@ -258,6 +258,7 @@ $description= $provides= $depends= array(); /* Action specified? */ if ($argc < 2){ + print_usage(); exit (0); } switch ($argv[1]){ -- 2.30.2