diff options
author | Timo Teräs <timo.teras@iki.fi> | 2010-06-12 13:43:29 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2010-06-12 13:43:29 +0300 |
commit | 3062d681f9052aabd4e02884e67a0fa1cf413f8b (patch) | |
tree | 13005e78d400349314753d326a18efe78d51cc70 /src/package.c | |
parent | 43cb554c3fd94ba394b708265c5fa2225a37a9eb (diff) | |
download | apk-tools-3062d681f9052aabd4e02884e67a0fa1cf413f8b.tar.gz apk-tools-3062d681f9052aabd4e02884e67a0fa1cf413f8b.tar.bz2 apk-tools-3062d681f9052aabd4e02884e67a0fa1cf413f8b.tar.xz apk-tools-3062d681f9052aabd4e02884e67a0fa1cf413f8b.zip |
archive: honor username/groupname instead of uid/gid
Take the uid/gid from passwd and group.
Diffstat (limited to 'src/package.c')
-rw-r--r-- | src/package.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/package.c b/src/package.c index 0dd89d3..e73814a 100644 --- a/src/package.c +++ b/src/package.c @@ -910,6 +910,8 @@ int apk_ipkg_run_script(struct apk_installed_package *ipkg, int root_fd, } waitpid(pid, &status, 0); unlinkat(root_fd, fn, 0); + apk_id_cache_reset(); + if (WIFEXITED(status)) return WEXITSTATUS(status); return -1; |