[gobolinux-users] Program dependency registering among each other

Carlo Calica carlo at calica.com
Fri Jun 29 21:08:26 UTC 2007


On 6/28/07, hisham.hm at gmail.com <hisham.hm at gmail.com> wrote:
>
> The overall idea that there should be a reverse check available for
> when removing programs is good. But an efficient implementation is
> something to be thought about carefully.
>

It is possible to do an efficient global check of dependencies files:

fgrep ZLib /Programs/*/*/Resources/Dependencies |cut -d / -f 3 |uniq

First hit is a little slow but later hits are cached.  Better to be
slow on this somewhat rare operation than walk the ENTIRE dep tree for
every change in /Programs.  There are only hundreds of dependencies
files.



-- 
Carlo J. Calica


More information about the gobolinux-users mailing list