Index: javascript_aggregator.install
=========================================================
--- javascript_aggregator.install	(revision 1.1.4.3)
+++ javascript_aggregator.install	Mon May 03 16:32:52 CEST 2010
@@ -6,7 +6,7 @@
  */
 function javascript_aggregator_install() {
   // Set the module's weight high so that it runs after other modules.
-  db_query("UPDATE {system} SET weight = 9999 WHERE name = 'javascript_aggregator' AND type = 'module'");
+  db_query("UPDATE {system} SET weight = 109 WHERE name = 'javascript_aggregator' AND type = 'module'");
   cache_clear_all();
 }
 
@@ -22,6 +22,18 @@
 }
 
 /**
+ * Set module's weight high so that it runs after other modules.
+ */
+function javascript_aggregator_update_6150() {
+  $ret = array();
+  $ret[] = update_sql("UPDATE {system} SET weight = 109 WHERE name = 'javascript_aggregator' AND type = 'module'");
+  
+  cache_clear_all();
+  return $ret;
+}
+
+
+/**
  * Implementation of hook_uninstall().
  */
 function javascript_aggregator_uninstall() {
