Update t.sh

Former-commit-id: e0ede9d10c8b9464aec0179d77d89778cf4573f5
This commit is contained in:
fscarmen
2021-11-23 00:15:24 +08:00
committed by GitHub
parent 008861e3fb
commit 12aaa47fc5
+1 -1
View File
@@ -368,7 +368,7 @@ fi
if ! type -P curl >/dev/null 2>&1; then
[[ $SYSTEM != centos ]] && (yellow " $T7 " && apt -y install curl >/dev/null 2>&1 || (yellow " $T8 " && apt -y update && apt -y install curl >/dev/null 2>&1))
[[ $SYSTEM = centos ]] && (yellow " $T7 " && yum -y install curl >/dev/null 2>&1 || (yellow " $T8 " && yum -y update && yum -y install curl >/dev/null 2>&1))
! type -P curl && yellow " $T9 " && exit 1
! type -P curl >/dev/null 2>&1 && yellow " $T9 " && exit 1
fi
# 判断处理器架构