From ac192c963dadb40de976c3619175e44772277f31 Mon Sep 17 00:00:00 2001 From: teldra Date: Tue, 13 Jun 2023 08:55:03 +0200 Subject: [PATCH] fixes --- main.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/main.sh b/main.sh index bc54d8e..fba2e42 100755 --- a/main.sh +++ b/main.sh @@ -280,15 +280,15 @@ do_install() { done if grep -q musl <<< $(uname -a); then - libc="x86_64-musl" + export XBPS_ARCH="x86_64-musl" else - libc="x86_64" + export XBPS_ARCH="x86_64" fi if [ "${DEBUG}" -ge "1" ]; then - xbps-install -a "${libc}" -S -R https://alpha.de.repo.voidlinux.org/current -R https://rotce.de/pakete -r "${target}" "${pkgs[@]}" + xbps-install -S -R https://alpha.de.repo.voidlinux.org/current -R https://rotce.de/pakete -r "${target}" "${pkgs[@]}" else - xbps-install -a "${libc}" -S -y -R https://alpha.de.repo.voidlinux.org/current -R https://rotce.de/pakete -r "${target}" "${pkgs[@]}" + xbps-install -S -y -R https://alpha.de.repo.voidlinux.org/current -R https://rotce.de/pakete -r "${target}" "${pkgs[@]}" fi }