From 67358807ea89859071b69017a1a95aac829ea6a5 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 14 Jul 2014 12:28:08 +0200 Subject: [PATCH] xbps-src: chroot: remove xbps conf remote repos with -N. --- common/xbps-src/shutils/chroot.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/common/xbps-src/shutils/chroot.sh b/common/xbps-src/shutils/chroot.sh index ff6bbb7135..641c716897 100644 --- a/common/xbps-src/shutils/chroot.sh +++ b/common/xbps-src/shutils/chroot.sh @@ -121,6 +121,7 @@ chroot_sync_repos() { # if -N is set, comment out remote repositories from xbps.conf. if [ -n "$XBPS_SKIP_REMOTEREPOS" ]; then + rm -f ${XBPS_MASTERDIR}/usr/share/xbps/repo.d/00-main.conf rm -f ${XBPS_MASTERDIR}/etc/xbps/repo.d/20-remote.conf rm -f ${XBPS_MASTERDIR}/etc/xbps/repo.d/22-remote-x86_64.conf fi