Index: panels.install
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/panels/panels.install,v
retrieving revision 1.4.2.19
diff -u -p -w -r1.4.2.19 panels.install
--- panels.install	14 Jul 2009 18:41:04 -0000	1.4.2.19
+++ panels.install	18 Jul 2009 02:52:08 -0000
@@ -7,7 +7,9 @@
 function panels_requirements($phase) {
   $requirements = array();
   $t = get_t();
-  if ($phase == 'install') {
+  // Assume that if the user is running an installation profile that both
+  // Panels and CTools are the same release.
+  if ($phase == 'install' && !(defined('MAINTENANCE_MODE') && MAINTENANCE_MODE == 'install')) {
     // apparently the install process doesn't include .module files,
     // so we need to force the issue in order for our versioning
     // check to work.
