summaryrefslogtreecommitdiffstats
path: root/lib/libalpm
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-06-20 21:52:24 +0000
committerDan McGee <dan@archlinux.org>2007-06-20 21:52:24 +0000
commit4b00fdeef0607916d4f6442f777b83b4cd4d0f83 (patch)
tree24edcb36a62a94fea219e28a6fde5e02a06b0eba /lib/libalpm
parent0cfb412220f3513e23aba9105d756246e5866ca6 (diff)
downloadpacman-4b00fdeef0607916d4f6442f777b83b4cd4d0f83.tar.xz
Revert erroneous chmod 'fix'.
Diffstat (limited to 'lib/libalpm')
-rw-r--r--lib/libalpm/add.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/libalpm/add.c b/lib/libalpm/add.c
index c2b1286a..ddeca317 100644
--- a/lib/libalpm/add.c
+++ b/lib/libalpm/add.c
@@ -704,8 +704,6 @@ int _alpm_add_commit(pmtrans_t *trans, pmdb_t *db)
_alpm_log(PM_LOG_ERROR, _("could not extract %s (%s)"), filename, strerror(errno));
alpm_logaction(_("error: could not extract %s (%s)"), filename, strerror(errno));
errors++;
- } else {
- chmod(filename, archive_entry_mode(entry));
}
/* calculate an hash if this is in newpkg's backup */