Open lazka opened 1 year ago
What does the mtime represent? Some tools set the mtime to the last modified header when downloading, so I don't think it would be very meaningful in this context.
right, I tested and pacman keeps the original mtime. So we should use atime instead.
I'm not sure atime works either âšī¸ . The expression paccache uses is find "$PWD" -name '*.pkg.tar*.sig' -prune -o \( -name '*.pkg.tar*' -printf '%A@ %T@ %p\n' \)
and when I run that I find a different atime (first column) every run, so I think atime gets updated by the check đ¤Ļ
I think I'd either just do what setup-msys2 does (-rfuk0
, -rfk1
), or just ignore it and see what happens.
since we disable caching now we also no longer prune the cache