This commit is contained in:
teldra 2023-06-13 08:55:03 +02:00
parent 4a1db6bbbe
commit ac192c963d

View File

@ -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
}