From 966db3af8bea0676d60edc5bc594eb34c7eb9e71 Mon Sep 17 00:00:00 2001 From: Michael Gehring Date: Fri, 26 Oct 2018 13:40:37 +0200 Subject: xvoidstrap: allow overriding the repo Closes: #99 [via git-merge-pr] --- xvoidstrap | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xvoidstrap') diff --git a/xvoidstrap b/xvoidstrap index 08a1298..4b93759 100755 --- a/xvoidstrap +++ b/xvoidstrap @@ -37,8 +37,8 @@ if [ -d /var/db/xbps/keys ]; then fi xbps-install \ - -R https://repo.voidlinux.eu/current \ - -R https://repo.voidlinux.eu/current/musl \ + -R ${XVOIDSTRAP_MIRROR:-https://repo.voidlinux.eu/current} \ + -R ${XVOIDSTRAP_MIRROR:-https://repo.voidlinux.eu/current}/musl \ -S -r "$CHROOT" \ ${@:-base-system lvm2 cryptsetup grub} -- cgit 1.4.1