diff options
author | Michael Gehring <mg@ebfe.org> | 2018-10-26 13:40:37 +0200 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2018-10-26 13:49:20 +0200 |
commit | 966db3af8bea0676d60edc5bc594eb34c7eb9e71 (patch) | |
tree | 5b754da1d19c48a2491d7874f5610565665ec50d /xvoidstrap | |
parent | 569a6f5d843912a645c3ebb17983468e9b1da1b3 (diff) | |
download | xtools-966db3af8bea0676d60edc5bc594eb34c7eb9e71.tar.gz xtools-966db3af8bea0676d60edc5bc594eb34c7eb9e71.tar.xz xtools-966db3af8bea0676d60edc5bc594eb34c7eb9e71.zip |
xvoidstrap: allow overriding the repo
Closes: #99 [via git-merge-pr]
Diffstat (limited to 'xvoidstrap')
-rwxr-xr-x | xvoidstrap | 4 |
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} |