CRUX-ARM :
Home
Home
::
Documentation
::
Download
::
Development
::
Community
::
Ports
::
Packages
::
Bugs
::
Links
::
About
::
Donors
development
/
pkgutils-cross.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80db05e
)
preserve owner/permissions when extracting
author
Simone Rota
<sip@crux.nu>
Sat, 2 Dec 2006 00:43:19 +0000
(
01:43
+0100)
committer
Simone Rota
<sip@crux.nu>
Sat, 2 Dec 2006 00:43:19 +0000
(
01:43
+0100)
pkgutil.cc
patch
|
blob
|
blame
|
history
diff --git
a/pkgutil.cc
b/pkgutil.cc
index ce945017f360762dbb05ea86af085d59ddbdba69..b4d419bde9a3d04ddf99be010a9c106aeac6d648 100644
(file)
--- a/
pkgutil.cc
+++ b/
pkgutil.cc
@@
-422,7
+422,7
@@
void pkgutil::pkg_install(const string& filename, const set<string>& keep_list,
(real_filename.c_str()));
// Extract file
- if (archive_read_extract(archive, entry,
0
) !=
+ if (archive_read_extract(archive, entry,
ARCHIVE_EXTRACT_OWNER && ARCHIVE_EXTRACT_PERM
) !=
ARCHIVE_OK) {
// If a file fails to install we just print an error message and
// continue trying to install the rest of the package.