From 7bb37dacac1234ed037507c7fbda0c34794fce25 Mon Sep 17 00:00:00 2001 From: q66 Date: Fri, 29 Jan 2021 14:20:39 +0100 Subject: [PATCH] xbps: make repo generation less error-prone --- srcpkgs/xbps/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/xbps/template b/srcpkgs/xbps/template index cae1b8681e9..728179a46fc 100644 --- a/srcpkgs/xbps/template +++ b/srcpkgs/xbps/template @@ -35,13 +35,13 @@ do_configure() { } post_install() { - local repo="repository=https://alpha.de.repo.voidlinux.org/current" suffix= + local repo="https://alpha.de.repo.voidlinux.org/current" suffix= case "$XBPS_TARGET_MACHINE" in aarch64*) suffix="/aarch64";; *-musl) suffix="/musl";; esac - echo "${repo}${suffix}" > \ + echo "repository=${repo}${suffix}" > \ ${DESTDIR}/usr/share/xbps.d/00-repository-main.conf echo "architecture=${XBPS_TARGET_MACHINE}" > \ ${DESTDIR}/usr/share/xbps.d/xbps-arch.conf