Code

Updated setup migrate step
[gosa.git] / gosa-core / setup / class_setupStep_Checks.inc
index 9c32200536cbf2407e696c2fdce39cadb4715ce6..3bcf510c14a3f0f6246a26ef3bb8b60d16e1811f 100644 (file)
@@ -25,7 +25,7 @@ class Step_Checks extends setup_step
   var $basic_checks = array();
   var $config_checks= array();
   var $is_writeable = array();
-  var $header_image = "images/system.png";
+  var $header_image = "images/setup/system.png";
 
   function Step_Checks()
   {
@@ -124,21 +124,13 @@ class Step_Checks extends setup_step
     $M = TRUE;
     $this->basic_checks[] = array("NAME" => $N , "DESC" => $D , "RESULT" => $R , "SOLUTION" => $S , "MUST" => $M );
 
-    /* Checking for Cups module */
-    $N = msgPool::checkingFor(_("CUPS"));
-    $D = _("GOsa requires this modukle to show printers that are not defined within the LDAP.");
-    $S = msgPool::installPhpModule("CUPS");
-    $R = is_callable("cups_get_dest_list");
-    $M = FALSE;
-    $this->basic_checks[] = array("NAME" => $N , "DESC" => $D , "RESULT" => $R , "SOLUTION" => $S , "MUST" => $M );
-
     /* Checking generate LM/NT password hashes */
     #TODO: either this, or gosa-si will do the hash generation
     $query= "mkntpwd 2>&1";
     $output= shell_exec ($query);
     $have_mkntpwd= preg_match("/^Usage: mkntpwd /", $output);
     if (!$have_mkntpwd){
-      $query= 'LC_ALL=C LANG=C perl -MCrypt::SmbHash -e "print join(q[:], ntlmgen $ARGV[0]), $/;" &>/dev/null';
+      $query= 'LC_ALL=C LANG=C perl -MCrypt::SmbHash -e "print join(q[:], ntlmgen $ARGV[0]), $/;" >/dev/null';
       system ($query, $ret);
       $have_mkntpwd |= ($ret == 0);
     }