forked from coolaj86/node-installer.sh
Update setup-min.sh
This commit is contained in:
parent
5a1edbd2e4
commit
933ceba356
|
@ -20,10 +20,10 @@ if [ -z "${PREFIX-}" ]; then
|
|||
PREFIX=""
|
||||
fi
|
||||
|
||||
if [ -n "${NODE_PATH-}" ]; then
|
||||
node_install_path=$(dirname $(dirname $NODE_PATH))
|
||||
else
|
||||
if [ -z "${NODE_PATH-}" ]; then
|
||||
node_install_path=$PREFIX/usr/local
|
||||
else
|
||||
node_install_path=$(dirname $(dirname $NODE_PATH))
|
||||
fi
|
||||
|
||||
NODEJS_NAME="node"
|
||||
|
|
Loading…
Reference in New Issue