diff options
Diffstat (limited to 'utils/lib_nvm.sh')
-rwxr-xr-x | utils/lib_nvm.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/lib_nvm.sh b/utils/lib_nvm.sh index cd2fbc189..ec0ed5c8f 100755 --- a/utils/lib_nvm.sh +++ b/utils/lib_nvm.sh @@ -117,6 +117,9 @@ nvm.install() { info_msg "checkout ${NVM_VERSION_TAG}" git checkout "${NVM_VERSION_TAG}" 2>&1 | prefix_stdout " ${_Yellow}||${_creset} " popd &> /dev/null + if [ -f "${REPO_ROOT}/.nvm_packages" ]; then + cp "${REPO_ROOT}/.nvm_packages" "${NVM_DIR}/default-packages" + fi nvm.env } |