Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-g2.git;a=commitdiff;h=9e4d4473c140e605e4955a5d3e6225a36b7f2f55

commit 9e4d4473c140e605e4955a5d3e6225a36b7f2f55
Author: Miklos Vajna <[email protected]>
Date:   Thu Jan 26 11:34:43 2012 +0100

makepkg: don't touch permissions of the in-chroot pacman config

diff --git a/scripts/makepkg b/scripts/makepkg
index c2314a5..0fee5c5 100755
--- a/scripts/makepkg
+++ b/scripts/makepkg
@@ -1077,7 +1077,8 @@ if [ "$CHROOT" = "1" -a "$INCHROOT" != "1" ]; then
chroot_unlock
exit 1
fi
-               mv -f $_F_makepkg_pacconf $CHROOTDIR/etc/pacman-g2.conf
+               cat $_F_makepkg_pacconf > $CHROOTDIR/etc/pacman-g2.conf
+               rm -f $_F_makepkg_pacconf
else
msg "Updating the '-$TREE' chroot environment"
# copy these before any update since without them we can't even reach the 
servers
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to