tbrehm
2011-04-13 13b41c948607a0e97a49b637c2de46263d9ec94c
server/mods-available/remoteaction_core_module.inc.php
@@ -134,16 +134,19 @@
      /*
       * Do the update
       */
      //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 upgrade -y");
      }
      /*
      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");
      }
      /*
       * All well done!
       */
      $this->_actionDone($action['action_id'], 'ok');