summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 9ffc8349..8ccf4a37 100644
--- a/lib/libalpm/add.c
+++ b/lib/libalpm/add.c
@@ -696,8 +696,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 */