tbrehm
2010-09-26 89e4554cb0bbf4b515f1e9f4ec6d48d0a95706c5
server/plugins-available/software_update_plugin.inc.php
@@ -97,7 +97,7 @@
      $temp_dir = '/tmp/'.md5 (uniqid (rand()));
      $app->log("The temp dir is $temp_dir",LOGLEVEL_DEBUG);
      mkdir($temp_dir);
      if($installuser != '') exec('chown '.$installuser.' '.$temp_dir);
      if($installuser != '') chown($temp_dir, $installuser);
      
      if(!is_dir($temp_dir)) {
         $app->log("Unable to create temp directory.",LOGLEVEL_WARN);
@@ -151,7 +151,7 @@
                $this->set_install_status($data["new"]["software_update_inst_id"], "failed");
            return false;
         } else {
            $app->log("md5sum of the downloaded file is verified.",LOGLEVEL_DEBUG);
            $app->log("MD5 checksum of the downloaded file verified.",LOGLEVEL_DEBUG);
         }