Index: imageapi.install
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/imageapi/imageapi.install,v
retrieving revision 1.3.2.2
diff -u -p -r1.3.2.2 imageapi.install
--- imageapi.install	23 Jul 2008 21:11:35 -0000	1.3.2.2
+++ imageapi.install	1 Dec 2008 20:43:52 -0000
@@ -13,7 +13,8 @@ function imageapi_requirements($phase) {
   $t = get_t();
 
   // Check for an image library.
-  if (count(imageapi_get_available_toolkits()) == 0) {
+if ($phase == 'runtime') {
+	 if (count(imageapi_get_available_toolkits()) == 0) {
     $requirements['imageapi_toolkits'] = array(
       'title' => $t('ImageAPI Toolkit'),
       'value' => $t('No image toolkits available'),
@@ -21,6 +22,7 @@ function imageapi_requirements($phase) {
       'description' => $t('ImageAPI requires a toolkit such as ImageAPI GD or ImageAPI Imagemagick to function.'),
     );
   }
+}
  
 
   if (version_compare(phpversion(), IMAGEAPI_RECOMMENDED_PHP) < 0) {
