e4289fd745eee0db2fc08d8a45e73b7593e9f5d0

Author: psychic

Date: 2009-01-13 10:55:18 -0800

Adjusting empty case with no plugins during updates. Added ignores for model caches.

diff --git a/app/tmp/cache/models/.gitignore b/app/tmp/cache/models/.gitignore new file mode 100644 index 0000000..50b395d --- /dev/null +++ b/app/tmp/cache/models/.gitignore @@ -0,0 +1 @@ +cake_* diff --git a/app/vendors/shells/plugins.php b/app/vendors/shells/plugins.php index e326aeb..8a93777 100644 --- a/app/vendors/shells/plugins.php +++ b/app/vendors/shells/plugins.php @@ -449,6 +449,11 @@ class PluginsShell extends Shell { */ function __checkForUpdates() { $plugins = $this->__listPlugins(); + + if(count($plugins) < 1) { + $this->out("No plugins found."); + } + foreach($plugins as $number => $plugin) { $this->out("Checking '$plugin' plugin..."); $manifest = new File(APP . 'plugins' . DS . $plugin . DS . 'manifest.xml');