mirror of
https://github.com/juewuy/ShellCrash.git
synced 2024-11-16 11:42:18 +08:00
Update install.sh
This commit is contained in:
parent
8484ffae3b
commit
f607cfbc70
|
@ -11,7 +11,7 @@ echo "** by Juewuy **"
|
|||
echo "***********************************************"
|
||||
|
||||
#检查root权限
|
||||
[ "$USER" != "root" ] && echo 请使用root用户执行安装!&& exit 1
|
||||
[ "$USER" != "root" ] && [ "$USER" != "admin" ] && echo 请使用root用户执行安装!&& exit 1
|
||||
|
||||
#检查更新
|
||||
url="https://cdn.jsdelivr.net/gh/juewuy/ShellClash"
|
||||
|
|
Loading…
Reference in New Issue
Block a user