On 27/02/11 21:01, Xavier Chantry wrote:
On Sun, Feb 27, 2011 at 11:53 AM, Allan McRae<allan@archlinux.org> wrote:
I had a fair suspicion this had been discussed before... I just did a "wtf?" when I saw /opt had disappeared.
I'm going to create a pactest for this.
If we believe the performance hit to fix this problem is not worth it, why not consider these packaging problems, and have all these packages install a .keep file ?
How much of a performance hit would there really be? If I have this right in my head (big assumption), the file-lists for all packages are read in in one go. So all that we would have to do is loop over them checking for the empty directory before we add it to the removal list. Should be a minimal impact.... maybe... I suppose the best way is to make a patch and see! Allan