Code

Updated setp
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 24 Feb 2009 13:23:00 +0000 (13:23 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 24 Feb 2009 13:23:00 +0000 (13:23 +0000)
-Added snapshort dependency

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13451 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/setup/class_setupStep_Checks.inc

index 0afb98c5f970b29d06cdcfd9a15e1782f9d0a6a9..a428485a55a7318faf432baed6ad04ee1c35f7c5 100644 (file)
@@ -156,6 +156,14 @@ class Step_Checks extends setup_step
     $M = TRUE;
     $this->basic_checks[] = array("NAME" => $N , "DESC" => $D , "RESULT" => $R , "SOLUTION" => $S , "MUST" => $M );
 
+    $N = msgPool::checkingFor(_("compression tool"));
+    $D = _("GOsa requires this extension to handle snapshots.");
+    $S = msgPool::installPhpModule("php5-zip / php5-gzip");
+    $R = is_callable("gzcompress");
+    $M = FALSE;
+    $this->basic_checks[] = array("NAME" => $N , "DESC" => $D , "RESULT" => $R , "SOLUTION" => $S , "MUST" => $M );
+
+
     /* PHP Configuration checks */
 
     /* Register_globals off */