about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMichael Gehring <mg@ebfe.org>2018-10-26 13:40:37 +0200
committerLeah Neukirchen <leah@vuxu.org>2018-10-26 13:49:20 +0200
commit966db3af8bea0676d60edc5bc594eb34c7eb9e71 (patch)
tree5b754da1d19c48a2491d7874f5610565665ec50d
parent569a6f5d843912a645c3ebb17983468e9b1da1b3 (diff)
downloadxtools-966db3af8bea0676d60edc5bc594eb34c7eb9e71.tar.gz
xtools-966db3af8bea0676d60edc5bc594eb34c7eb9e71.tar.xz
xtools-966db3af8bea0676d60edc5bc594eb34c7eb9e71.zip
xvoidstrap: allow overriding the repo
Closes: #99 [via git-merge-pr]
-rwxr-xr-xxvoidstrap4
1 files changed, 2 insertions, 2 deletions
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}