]> git.decadent.org.uk Git - dak.git/commitdiff
don't give melanie info unless there's some NBS packages to remove
authorJames Troup <james@nocrew.org>
Fri, 7 Feb 2003 14:53:45 +0000 (14:53 +0000)
committerJames Troup <james@nocrew.org>
Fri, 7 Feb 2003 14:53:45 +0000 (14:53 +0000)
rene

diff --git a/rene b/rene
index d221ad03bb4ee8e73672fc0baece4e36c7dfb550..62d7da40934f448f3d03b83541f962b20648867c 100755 (executable)
--- a/rene
+++ b/rene
@@ -1,8 +1,8 @@
 #!/usr/bin/env python
 
 # Check for obsolete binary packages
-# Copyright (C) 2000, 2001, 2002  James Troup <james@nocrew.org>
-# $Id: rene,v 1.17 2003-01-20 19:13:21 troup Exp $
+# Copyright (C) 2000, 2001, 2002, 2003  James Troup <james@nocrew.org>
+# $Id: rene,v 1.18 2003-02-07 14:53:45 troup Exp $
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -270,9 +270,10 @@ SELECT s.source, s.version AS experimental, s2.version AS unstable
 
         print ;
 
-    print "Suggested command:"
-    print " melanie -m \"[rene] NBS\" -b %s" % (" ".join(nbs_to_remove));
-    print
+    if nbs_to_remove:
+        print "Suggested command:"
+        print " melanie -m \"[rene] NBS\" -b %s" % (" ".join(nbs_to_remove));
+        print
 
     print "="*75
     print