Index: reptag_module.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/reptag/Attic/reptag_module.inc,v
retrieving revision 1.1.2.5
diff -u -r1.1.2.5 reptag_module.inc
--- reptag_module.inc	16 Mar 2007 01:47:10 -0000	1.1.2.5
+++ reptag_module.inc	17 Mar 2007 11:21:28 -0000
@@ -50,14 +50,15 @@
 function _reptag_module_rebuild() {
   $reptag_modules = array();
   // module (.tags)
-  $files = file_scan_directory(drupal_get_path('module', 'reptag'), '\.tags$');
+  $files = file_scan_directory(drupal_get_path('module', 'reptag'), '\.tags.inc$');
   foreach ($files as $file) {
     include_once $file->filename;
-    $function = '_reptag_'.$file->name.'_info';
+    $module = substr($file->name, 0, -5);
+    $function = '_reptag_'.$module.'_info';
     if (function_exists($function)) {
       $reptag_info = $function();
-      $reptag_modules[$file->basename] = array(
-        'module' => $file->basename,
+      $reptag_modules[$file->name] = array(
+        'module' => $module,
         'path' => $file->filename,
         'static' => is_array($reptag_info) ? $reptag_info[1] : FALSE,
         'description' => check_plain(is_array($reptag_info) ? $reptag_info[0] : $reptag_info),
Index: reptag.install
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/reptag/reptag.install,v
retrieving revision 1.15.2.5
diff -u -r1.15.2.5 reptag.install
--- reptag.install	3 Mar 2007 23:14:51 -0000	1.15.2.5
+++ reptag.install	17 Mar 2007 11:35:47 -0000
@@ -186,6 +186,10 @@
   return $ret;
 }
 
+function reptag_update_5() {
+  return array(array('success' => (count(_reptag_module_list(TRUE)) > 0), 'query' => 'Rebuild module list ...'));
+}
+
 function reptag_uninstall() {
   // drop tables
   db_query('DROP TABLE {reptag_vars}');
