Update debian.sh

This commit is contained in:
midoks
2022-11-01 18:18:27 +08:00
parent 02bc554afb
commit c8feecfb2a
+6
View File
@@ -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