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 }