mirror of
https://github.com/akatsukiro/lsky-pro-install-script.git
synced 2025-06-08 05:53:04 +08:00
feat: 添加clear清理terminal信息
This commit is contained in:
parent
2977bf00ec
commit
081d6f9ac8
@ -12,6 +12,8 @@ pre_check() {
|
|||||||
# check root
|
# check root
|
||||||
[[ $EUID -ne 0 ]] && echo -e "${red}错误: 请使用root用户运行此脚本!${plain}" && exit 1
|
[[ $EUID -ne 0 ]] && echo -e "${red}错误: 请使用root用户运行此脚本!${plain}" && exit 1
|
||||||
|
|
||||||
|
clear
|
||||||
|
|
||||||
## os_arch
|
## os_arch
|
||||||
if [[ $(uname -m | grep 'x86_64') != "" ]]; then
|
if [[ $(uname -m | grep 'x86_64') != "" ]]; then
|
||||||
os_arch="amd64"
|
os_arch="amd64"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user