make sure directory exists before chowning it
This commit is contained in:
parent
c747edb99a
commit
97c7ef9793
|
@ -303,6 +303,7 @@ if [ -n "${NODEJS_VER}" ]; then
|
||||||
bash "/tmp/${INSTALL_FILE}" "${NODEJS_VER}"
|
bash "/tmp/${INSTALL_FILE}" "${NODEJS_VER}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
$sudo_cmd mkdir -p $node_install_path/lib/node_modules
|
||||||
$sudo_cmd chown -R $(whoami) $node_install_path/lib/node_modules
|
$sudo_cmd chown -R $(whoami) $node_install_path/lib/node_modules
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
|
|
Loading…
Reference in New Issue