mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
void-repo-nonfree: use https for repo.voidlinux.eu.
This commit is contained in:
parent
4aa521495b
commit
10c96fe1b6
1 changed files with 4 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'void-repo-nonfree'
|
# Template file for 'void-repo-nonfree'
|
||||||
pkgname=void-repo-nonfree
|
pkgname=void-repo-nonfree
|
||||||
version=7
|
version=8
|
||||||
revision=1
|
revision=1
|
||||||
noarch=yes
|
noarch=yes
|
||||||
build_style=meta
|
build_style=meta
|
||||||
|
@ -11,13 +11,13 @@ homepage="http://www.voidlinux.eu"
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vmkdir usr/share/xbps.d
|
vmkdir usr/share/xbps.d
|
||||||
echo "repository=http://repo.voidlinux.eu/current/nonfree" > \
|
echo "repository=https://repo.voidlinux.eu/current/nonfree" > \
|
||||||
${DESTDIR}/usr/share/xbps.d/10-repository-nonfree.conf
|
${DESTDIR}/usr/share/xbps.d/10-repository-nonfree.conf
|
||||||
echo "repository=http://repo.voidlinux.eu/current/debug" > \
|
echo "repository=https://repo.voidlinux.eu/current/debug" > \
|
||||||
${DESTDIR}/usr/share/xbps.d/20-repository-debug.conf
|
${DESTDIR}/usr/share/xbps.d/20-repository-debug.conf
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
*-musl) sed -i 's,repo.voidlinux.eu,muslrepo.voidlinux.eu,g' ${DESTDIR}/usr/share/xbps.d/*.conf;;
|
*-musl) sed -i 's,https://repo.voidlinux.eu,http://muslrepo.voidlinux.eu,g' ${DESTDIR}/usr/share/xbps.d/*.conf;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue