diff --git a/erpal_platform.profile b/erpal_platform.profile index ec91dca..23b6ffe 100644 --- a/erpal_platform.profile +++ b/erpal_platform.profile @@ -35,11 +35,13 @@ function erpal_platform_install_tasks() { // Remove all messages we don't need them. drupal_get_messages('status', TRUE); - $tasks['erpal_platform_vendor_form'] = array( - 'display_name' => st('Vendor information'), - 'display' => TRUE, - 'type' => 'form', - ); + if (!drupal_is_cli()) { + $tasks['erpal_platform_vendor_form'] = array( + 'display_name' => st('Vendor information'), + 'display' => TRUE, + 'type' => 'form', + ); + } return $tasks; }