[pacman-dev] do we need requiredby?
K. Piche
kpiche at rogers.com
Wed Nov 14 20:57:15 EST 2007
On Wed, 2007-11-14 at 18:15 -0600, Aaron Griffin wrote:
> On Nov 14, 2007 6:08 PM, Dan McGee <dpmcgee at gmail.com> wrote:
> > We (anyone want to volunteer) also need to make a tool to remove
> > requiredby entries.
>
> I was going to python it up... it's an easy file to parse and rewrite,
> probably like 20 lines
sed rules! :)
grep -Rl REQUIREDBY /var/lib/pacman/local | xargs sed -i '/^%REQUIREDBY
%/,/^$/ d'
Course it may not handle corner cases...
k
--
K. Piche <kpiche at rogers.com>
More information about the pacman-dev
mailing list