--- login_destination.module.orig	2009-10-21 07:28:17.000000000 -0400
+++ login_destination.module	2009-11-07 18:21:32.000000000 -0500
@@ -112,7 +112,8 @@ function login_destination_admin_setting
  * Implementation of hook_user.
  */
 function login_destination_user($op, &$edit, &$account, $category = NULL) {
-  if ($op == 'login') {
+  // If login and not during an installation profile
+  if ($op == 'login' && MAINTENANCE_MODE != "install") {
     global $language;
     $destination = variable_get('ld_url_destination', 'user');
     
