xbps-src: chroot: remove xbps conf remote repos with -N.

This commit is contained in:
Juan RP 2014-07-14 12:28:08 +02:00
parent a92ca2e1e9
commit 67358807ea
1 changed files with 1 additions and 0 deletions

View File

@ -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