From 99933725329dc760f5cc704b3fd20f033dafdd14 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Fri, 25 Oct 2013 19:10:13 -0400 Subject: libremakepkg: configure [repo] to be first by default, not last --- src/chroot-tools/makechrootpkg.sh.patch | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) (limited to 'src') diff --git a/src/chroot-tools/makechrootpkg.sh.patch b/src/chroot-tools/makechrootpkg.sh.patch index fb2f2d0..4082bdd 100644 --- a/src/chroot-tools/makechrootpkg.sh.patch +++ b/src/chroot-tools/makechrootpkg.sh.patch @@ -1,5 +1,5 @@ ---- makechrootpkg.sh.in 2013-09-26 23:35:59.000000000 -0400 -+++ makechrootpkg.sh.ugly 2013-09-26 23:33:45.000000000 -0400 +--- makechrootpkg.sh.in 2013-10-15 21:33:17.000000000 -0400 ++++ makechrootpkg.sh.ugly 2013-10-25 19:05:08.000000000 -0400 @@ -12,6 +12,7 @@ shopt -s nullglob @@ -162,16 +162,17 @@ sed -i '/^PACKAGER=/d' "$copydir/etc/makepkg.conf" echo "PACKAGER='${PACKAGER}'" >> "$copydir/etc/makepkg.conf" fi -@@ -244,20 +279,37 @@ +@@ -244,20 +279,38 @@ chmod 440 "$copydir/etc/sudoers.d/nobody-pacman" fi + if ! grep -q '^\[repo\]' "$copydir/etc/pacman.conf"; then -+ cat >> "$copydir/etc/pacman.conf" <