This is an automated email from the git hooks/post-receive script.

kanashiro-guest pushed a commit to branch master
in repository carton.

commit 62763213dba76f09b3808128d1458caa49775270
Author: Tatsuhiko Miyagawa <miyag...@bulknews.net>
Date:   Thu Jun 30 00:03:26 2011 -0400

    Only display success messages when it actually succeeds
---
 lib/Carton/CLI.pm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/lib/Carton/CLI.pm b/lib/Carton/CLI.pm
index 4c62800..0a43762 100644
--- a/lib/Carton/CLI.pm
+++ b/lib/Carton/CLI.pm
@@ -227,7 +227,11 @@ sub cmd_uninstall {
     }
 
     $self->carton->update_lock_file($self->lock_file);
-    $self->printf("Complete! Modules and its dependencies were uninstalled 
from %s\n", $self->config->get('path'), SUCCESS);
+
+    if (@missing) {
+        $self->printf("Complete! Modules and its dependencies were uninstalled 
from %s\n",
+                      $self->config->get('path'), SUCCESS);
+    }
 }
 
 sub cmd_config {

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/carton.git

_______________________________________________
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

Reply via email to