Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Mar 2005 20:36:48 +0100
From:      "David J. Weller-Fahy" <dave-lists-freebsd-questions@weller-fahy.com>
To:        freebsd-questions@freebsd.org
Subject:   Scripting oddness (sh)
Message-ID:  <20050323193626.GH7474@weller-fahy.com>

next in thread | raw e-mail | index | archive | help
I've been working on a script, and am having a bit of trouble producing
reasonable output.  First, the script removes all leaf packages that are
not listed in a configuration file and are not required by any of those
packages, or by any package that those packages require, etc.

The problem is that when all currently installed packages are listed as
'do not remove', then the script does not produce the "No packages/ports
to remove." output unless line 58 (the line that consists of the command
'true') is uncommented.  If that line is commented out, or removed, then
no output is produced.

Anyone have any ideas on how to troubleshoot?

Regards,
-- 
dave [ please don't CC me ]



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050323193626.GH7474>