xbps-src/shutils/chroot.sh: unconditionally copy repo conf files into masterdir.
This commit is contained in:
parent
21a6990d2e
commit
4d9ed5639f
1 changed files with 4 additions and 8 deletions
|
@ -117,14 +117,10 @@ chroot_sync_repos() {
|
||||||
install -Dm644 ${XBPS_COMMONDIR}/xbps-src/chroot/xbps.conf \
|
install -Dm644 ${XBPS_COMMONDIR}/xbps-src/chroot/xbps.conf \
|
||||||
${XBPS_MASTERDIR}/etc/xbps/xbps.conf
|
${XBPS_MASTERDIR}/etc/xbps/xbps.conf
|
||||||
fi
|
fi
|
||||||
if [ ! -f ${XBPS_MASTERDIR}/etc/xbps/repos/local.conf ]; then
|
install -Dm644 ${XBPS_COMMONDIR}/xbps-src/chroot/repos-local.conf \
|
||||||
install -Dm644 ${XBPS_COMMONDIR}/xbps-src/chroot/repos-local.conf \
|
${XBPS_MASTERDIR}/etc/xbps/repos/local.conf
|
||||||
${XBPS_MASTERDIR}/etc/xbps/repos/local.conf
|
install -Dm644 ${XBPS_COMMONDIR}/xbps-src/chroot/repos-remote.conf \
|
||||||
fi
|
${XBPS_MASTERDIR}/etc/xbps/repos/remote.conf
|
||||||
if [ ! -f ${XBPS_MASTERDIR}/etc/xbps/repos/remote.conf ]; then
|
|
||||||
install -Dm644 ${XBPS_COMMONDIR}/xbps-src/chroot/repos-remote.conf \
|
|
||||||
${XBPS_MASTERDIR}/etc/xbps/repos/remote.conf
|
|
||||||
fi
|
|
||||||
|
|
||||||
# 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
|
||||||
|
|
Loading…
Reference in a new issue