forked from coolaj86/node-installer.sh
typo fix
This commit is contained in:
parent
6a73356dd9
commit
f2f1cb94d2
|
@ -173,14 +173,14 @@ INSTALL_FILE="setup-node-${SETUP_FILE}.bash"
|
|||
if [ ! -e "/tmp/${INSTALL_FILE}" ]
|
||||
then
|
||||
if [ -n "$(type -p curl)" ]; then
|
||||
if [ -z "$(dont_install_deps)" ]; then
|
||||
if [ -z "$dont_install_deps" ]; then
|
||||
curl --silent "${BASE_URL}/${INSTALL_DEPS_FILE}" \
|
||||
-o "/tmp/${INSTALL_DEPS_FILE}" || echo 'error downloading os deps script: '"${BASE_URL}/${INSTALL_DEPS_FILE}"
|
||||
fi
|
||||
curl --silent "${BASE_URL}/${INSTALL_FILE}" \
|
||||
-o "/tmp/${INSTALL_FILE}" || echo 'error downloading os setup script'
|
||||
elif [ -n "$(type -p wget)" ]; then
|
||||
if [ -z "$(dont_install_deps)" ]; then
|
||||
if [ -z "$dont_install_deps" ]; then
|
||||
wget --quiet "${BASE_URL}/${INSTALL_DEPS_FILE}" \
|
||||
-O "/tmp/${INSTALL_DEPS_FILE}" || echo 'error downloading os deps script: '"${BASE_URL}/${INSTALL_DEPS_FILE}"
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue