forked from lix-project/lix
tarfile.cc: Restore timestamps
This is needed to get the lastModified attribute of GitHub flakes.
This commit is contained in:
parent
2550c11373
commit
c84c843e33
|
@ -84,6 +84,7 @@ static void extract_archive(TarArchive & archive, const Path & destDir)
|
|||
{
|
||||
int flags = ARCHIVE_EXTRACT_FFLAGS
|
||||
| ARCHIVE_EXTRACT_PERM
|
||||
| ARCHIVE_EXTRACT_TIME
|
||||
| ARCHIVE_EXTRACT_SECURE_SYMLINKS
|
||||
| ARCHIVE_EXTRACT_SECURE_NODOTDOT;
|
||||
|
||||
|
|
Loading…
Reference in a new issue