diff options
Diffstat (limited to 'src')
-rwxr-xr-x | src/chroot-tools/libremakepkg | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/chroot-tools/libremakepkg b/src/chroot-tools/libremakepkg index e5130c8..cdd2f39 100755 --- a/src/chroot-tools/libremakepkg +++ b/src/chroot-tools/libremakepkg @@ -128,8 +128,8 @@ chroot_init() { MAKEPKG_CONF="$copydir/etc/makepkg.conf" set_conf_makepkg PKGDEST /pkgdest MAKEPKG_CONF="$copydir/etc/makepkg.conf" set_conf_makepkg SRCDEST /srcdest - if grep -q '^\[repo\]' "$copydir/etc/pacman.conf"; then - cat >> "$copydir/etc/makepkg.conf" <<EOF + if ! grep -q '^\[repo\]' "$copydir/etc/pacman.conf"; then + cat >> "$copydir/etc/pacman.conf" <<EOF [repo] SigLevel = Optional TrustAll Server = file:///repo |