latham
2011-07-15 bfed9251fc43e12939bfcabbf4baac9ffd3fd7a2
server/mods-available/remoteaction_core_module.inc.php
@@ -134,19 +134,19 @@
      /*
       * Do the update
       */
      exec("aptitude update");
      exec("aptitude upgrade -y");
      //TODO : change this when distribution information has been integrated into server record
      if(file_exists('/etc/gentoo-release')) {
         exec("glsa-check -f --nocolor affected");
      }
      else {
         exec("aptitude update");
         exec("aptitude safe-upgrade -y");
      }
      /*
      exec("aptitude update");
      exec("aptitude safe-upgrade -y");
      //TODO : change this when distribution information has been integrated into server record
      if(file_exists('/etc/gentoo-release')) {
         exec("glsa-check -f --nocolor affected");
      }
      else {
         exec("aptitude update");
         exec("aptitude safe-upgrade -y");
      }
      /*
       * All well done!
       */
      $this->_actionDone($action['action_id'], 'ok');