void-repo-nonfree: Change default XBPS mirror address
This commit is contained in:
parent
9f50817e35
commit
6d8c18ff7e
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'void-repo-nonfree'
|
||||
pkgname=void-repo-nonfree
|
||||
version=9
|
||||
revision=1
|
||||
revision=2
|
||||
noarch=yes
|
||||
build_style=meta
|
||||
short_desc="Void Linux drop-in file for the nonfree repository"
|
||||
|
@ -13,15 +13,15 @@ do_install() {
|
|||
vmkdir usr/share/xbps.d
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
*-musl)
|
||||
echo "repository=https://repo.voidlinux.eu/current/musl/nonfree" > \
|
||||
echo "repository=https://alpha.de.repo.voidlinux.org/current/musl/nonfree" > \
|
||||
${DESTDIR}/usr/share/xbps.d/10-repository-nonfree.conf
|
||||
echo "repository=https://repo.voidlinux.eu/current/musl/debug" > \
|
||||
echo "repository=https://alpha.de.repo.voidlinux.org/current/musl/debug" > \
|
||||
${DESTDIR}/usr/share/xbps.d/20-repository-debug.conf
|
||||
;;
|
||||
*)
|
||||
echo "repository=https://repo.voidlinux.eu/current/nonfree" > \
|
||||
echo "repository=https://alpha.de.repo.voidlinux.org/current/nonfree" > \
|
||||
${DESTDIR}/usr/share/xbps.d/10-repository-nonfree.conf
|
||||
echo "repository=https://repo.voidlinux.eu/current/debug" > \
|
||||
echo "repository=https://alpha.de.repo.voidlinux.org/current/debug" > \
|
||||
${DESTDIR}/usr/share/xbps.d/20-repository-debug.conf
|
||||
;;
|
||||
esac
|
||||
|
|
Loading…
Reference in New Issue