wyrie
2010-10-18 4b88c2b95d7e21820adad02317aa0cfee98b29c1
server/mods-available/remoteaction_core_module.inc.php
@@ -27,7 +27,7 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
class remoteaction_core_module {
class remoteaction_core_module extends modules_base {
   var $module_name = 'remoteaction_core_module';
   var $class_name = 'remoteaction_core_module';
   /* No actions at this time. maybe later... */
@@ -132,9 +132,15 @@
      /*
       * 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 upgrade -y");
      }
      /*
       * All well done!
       */