mirror of
https://gitlab.com/fscarmen/warp.git
synced 2026-06-24 15:12:39 +08:00
Update t.sh
Former-commit-id: e0ede9d10c8b9464aec0179d77d89778cf4573f5
This commit is contained in:
@@ -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
|
||||
|
||||
# 判断处理器架构
|
||||
|
||||
Reference in New Issue
Block a user