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