diff options
author | Xavier Chantry <shiningxc@gmail.com> | 2009-03-03 17:10:26 +0100 |
---|---|---|
committer | Xavier Chantry <shiningxc@gmail.com> | 2009-03-15 18:10:24 +0100 |
commit | 91d43ba4b44e0827c6d9b66c70485672953f5a6d (patch) | |
tree | e95cdf13467cabf8da2ef81a4a0b202ecf8c4985 /lib/libalpm/cache.c | |
parent | 59b4725bbb881140fea47dd2d1b09cef37e8a9dc (diff) | |
download | pacman-91d43ba4b44e0827c6d9b66c70485672953f5a6d.tar.xz |
repo-add : don't change the modification time on depends and desc
The modification time on depends and desc file were changed to match the
modification time of the package file. I don't see why and we are actualling
losing information here. If we want to know the date of the package file, we
can just look inside the depends file. If we want to know when the entry was
created, we should not alter the modification time of depends and desc.
Besides, this had the non-obvious and undocumented side effect that the
depends file was always created, even if it was empty. And pacman actually
does require that. So I added a "touch depends" to always create the file.
Signed-off-by: Xavier Chantry <shiningxc@gmail.com>
Diffstat (limited to 'lib/libalpm/cache.c')
0 files changed, 0 insertions, 0 deletions