xbps-src: chroot: remove xbps conf remote repos with -N.
This commit is contained in:
parent
a92ca2e1e9
commit
67358807ea
@ -121,6 +121,7 @@ chroot_sync_repos() {
|
|||||||
|
|
||||||
# if -N is set, comment out remote repositories from xbps.conf.
|
# if -N is set, comment out remote repositories from xbps.conf.
|
||||||
if [ -n "$XBPS_SKIP_REMOTEREPOS" ]; then
|
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/20-remote.conf
|
||||||
rm -f ${XBPS_MASTERDIR}/etc/xbps/repo.d/22-remote-x86_64.conf
|
rm -f ${XBPS_MASTERDIR}/etc/xbps/repo.d/22-remote-x86_64.conf
|
||||||
fi
|
fi
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user