Update i.sh

得到当前用户;$USER 可能为空
This commit is contained in:
qfdk 2019-05-24 15:24:23 +02:00 committed by GitHub
parent fb6860ba91
commit 02ba8887b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
i.sh
View File

@ -7,7 +7,7 @@ OPENRESTY_VER=1.15.8.1
SUPPORTED_OS="Linux-x86_64"
OS="$(uname)-$(uname -m)"
USER=`whoami`
NGX_DIR="$HOME/openresty"
COLOR_RESET="\033[0m"