? .packgr.profile.swp
? content_types
? menus.inc
? something.patch
? packages/basics.inc
? packages/content_types.inc
? packages/devel.inc
? packages/menu.inc
Index: packgr.profile
===================================================================
RCS file: /cvs/drupal-contrib/contributions/profiles/packgr/packgr.profile,v
retrieving revision 1.1
diff -u -p -r1.1 packgr.profile
--- packgr.profile	12 Oct 2008 02:32:40 -0000	1.1
+++ packgr.profile	28 Jan 2009 04:33:23 -0000
@@ -8,7 +8,7 @@
  *   An array of modules to enable.
  */
 function packgr_profile_modules() {
-  return array();
+  return array('install_profile_api',);
 }
 
 /**
@@ -145,6 +145,9 @@ function packgr_build_task_list() {
  *   modify the $task, otherwise discarded.
  */
 function packgr_profile_tasks(&$task, $url) {
+  // Initialize install_profile_api.
+  $core_required = array('menu', 'block', 'filter', 'node', 'system', 'user', 'content_copy',);
+  install_include(array_merge(packgr_profile_modules(), $core_required));
 
   $selected_packages = variable_get('packgr_selected_packages', '');
   
@@ -441,4 +444,4 @@ function packgr_cleanup() {
   variable_del('packgr_remaining_tasks');
   variable_del('packgr_current_task');
   variable_del('packgr_task_list');
-}
\ No newline at end of file
+}
