diff --git a/termux-proot/pld-linux-arm.sh b/termux-proot/pld-linux-arm.sh index dd9f2b7..90c138b 100644 --- a/termux-proot/pld-linux-arm.sh +++ b/termux-proot/pld-linux-arm.sh @@ -1,5 +1,10 @@ DISTRO_NAME="PLD Linux Distribution" -TARBALL_URL['aarch64']="https://github.com/jpalus/pld-linux-arm/releases/download/pld-linux-arm-20230628/pld-linux-base-aarch64-20230628.tar.xz" -TARBALL_SHA256['aarch64']="4b0f05b19b4dbf146726bd5b1e782d6f9d781beb60ca261711ba89788f5e26c2" -TARBALL_URL['arm']="https://github.com/jpalus/pld-linux-arm/releases/download/pld-linux-arm-20230628/pld-linux-base-armv6hl-20230628.tar.xz" -TARBALL_SHA256['arm']="75fa44f4f7c38dff2a8f91914ad1204f107a838a08cd5158df1ebc8ecb62d612" +TARBALL_URL['aarch64']="https://github.com/jpalus/pld-linux-arm/releases/download/pld-linux-arm-20230809/pld-linux-base-aarch64-20230809.tar.xz" +TARBALL_SHA256['aarch64']="f4ecc643e5c20064f7f7010f2283b1d953095ee1414091fc3edefa95620fab73" +if uname -m | grep -q armv7 && test -e /proc/cpuinfo && grep -q neon /proc/cpuinfo; then +TARBALL_URL['arm']="https://github.com/jpalus/pld-linux-arm/releases/download/pld-linux-arm-20230809/pld-linux-base-armv7hnl-20230809.tar.xz" +TARBALL_SHA256['arm']="b69f5433367b9a6b6760a6f6e84ae40a6b75c82dd6bd96c729cff75e89387fb3" +else +TARBALL_URL['arm']="https://github.com/jpalus/pld-linux-arm/releases/download/pld-linux-arm-20230809/pld-linux-base-armv6hl-20230809.tar.xz" +TARBALL_SHA256['arm']="8e07ac0f8b2f859ee03148c7d96fd52e6bb5daf05b368872dde7f5f64114ebcb" +fi