From: James Troup Date: Fri, 7 Feb 2003 14:53:45 +0000 (+0000) Subject: don't give melanie info unless there's some NBS packages to remove X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c82176f5768ffbe3b8ca848c00ec392b0e4aa56;p=dak don't give melanie info unless there's some NBS packages to remove --- diff --git a/rene b/rene index d221ad03..62d7da40 100755 --- a/rene +++ b/rene @@ -1,8 +1,8 @@ #!/usr/bin/env python # Check for obsolete binary packages -# Copyright (C) 2000, 2001, 2002 James Troup -# $Id: rene,v 1.17 2003-01-20 19:13:21 troup Exp $ +# Copyright (C) 2000, 2001, 2002, 2003 James Troup +# $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