mirror of
https://github.com/EtherDream/jsproxy
synced 2024-11-22 18:50:48 +00:00
Update i.sh
得到当前用户;$USER 可能为空
This commit is contained in:
parent
fb6860ba91
commit
02ba8887b8
4
i.sh
4
i.sh
@ -7,7 +7,7 @@ OPENRESTY_VER=1.15.8.1
|
|||||||
|
|
||||||
SUPPORTED_OS="Linux-x86_64"
|
SUPPORTED_OS="Linux-x86_64"
|
||||||
OS="$(uname)-$(uname -m)"
|
OS="$(uname)-$(uname -m)"
|
||||||
|
USER=`whoami`
|
||||||
NGX_DIR="$HOME/openresty"
|
NGX_DIR="$HOME/openresty"
|
||||||
|
|
||||||
COLOR_RESET="\033[0m"
|
COLOR_RESET="\033[0m"
|
||||||
@ -105,4 +105,4 @@ if [[ "$1" == "install" ]]; then
|
|||||||
install
|
install
|
||||||
else
|
else
|
||||||
main
|
main
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user