mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 07:33:48 +02:00
void-repo-nonfree: Change default XBPS mirror address
This commit is contained in:
parent
9f50817e35
commit
6d8c18ff7e
1 changed files with 5 additions and 5 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'void-repo-nonfree'
|
# Template file for 'void-repo-nonfree'
|
||||||
pkgname=void-repo-nonfree
|
pkgname=void-repo-nonfree
|
||||||
version=9
|
version=9
|
||||||
revision=1
|
revision=2
|
||||||
noarch=yes
|
noarch=yes
|
||||||
build_style=meta
|
build_style=meta
|
||||||
short_desc="Void Linux drop-in file for the nonfree repository"
|
short_desc="Void Linux drop-in file for the nonfree repository"
|
||||||
|
@ -13,15 +13,15 @@ do_install() {
|
||||||
vmkdir usr/share/xbps.d
|
vmkdir usr/share/xbps.d
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
*-musl)
|
*-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
|
${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
|
${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
|
${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
|
${DESTDIR}/usr/share/xbps.d/20-repository-debug.conf
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
Loading…
Add table
Reference in a new issue