Re: File Dependancy should be counted in a reference.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Timothy Ward wrote:

> File dependancy should be counted like ref counting in gtk when a
> program is added to the computer a reference count and a keyname is
> added to a double-linked list in a system file then when the program is
> removed the reference count for that dependent file is reduced by one,
> when the count drops to zero the dependency is removed as it is no
> longer used by any program. This way the spec file only increases the
> reference count when the package is installed and reduces the reference
> count when the package is removed.

I think that's how rpm works already.  If multiple packages own the same 
file or dir, only when the last owner is removed is the actual target 
removed from the filesystem.  Is that what you meant?

-- Rex

-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux