From c8feecfb2ad1ad2cdc64c3c6bcb604578c6632f3 Mon Sep 17 00:00:00 2001 From: midoks Date: Tue, 1 Nov 2022 18:18:27 +0800 Subject: [PATCH] Update debian.sh --- scripts/install/debian.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/scripts/install/debian.sh b/scripts/install/debian.sh index 983900d1a..de30d2b7a 100644 --- a/scripts/install/debian.sh +++ b/scripts/install/debian.sh @@ -16,6 +16,12 @@ if grep -Eq "Debian" /etc/*-release; then ln -sf /bin/bash /bin/sh fi +__GET_BIT=`getconf LONG_BIT` +if [ "$__GET_BIT" == "32" ];then + # install rust | 32bit need + curl https://sh.rustup.rs -sSf | sh +fi + # synchronize time first apt-get install ntpdate -y ntpdate time.nist.gov | logger -t NTP