[pacman-dev] CVS update of pacman-lib/lib/libalpm (add.c)

Dan McGee dan at archlinux.org
Wed Jun 20 17:52:24 EDT 2007


    Date: Wednesday, June 20, 2007 @ 17:52:24
  Author: dan
    Path: /home/cvs-pacman/pacman-lib/lib/libalpm

Modified: add.c (1.132 -> 1.133)

Revert erroneous chmod 'fix'.


-------+
 add.c |    2 --
 1 file changed, 2 deletions(-)


Index: pacman-lib/lib/libalpm/add.c
diff -u pacman-lib/lib/libalpm/add.c:1.132 pacman-lib/lib/libalpm/add.c:1.133
--- pacman-lib/lib/libalpm/add.c:1.132	Thu May 17 23:26:24 2007
+++ pacman-lib/lib/libalpm/add.c	Wed Jun 20 17:52:24 2007
@@ -704,8 +704,6 @@
 						_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 */




More information about the pacman-dev mailing list