diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2022-01-22 09:26:17 +0100 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2022-01-24 07:51:31 +0100 |
commit | 309147d86f08f69ce1467aa4d25d3d6a56b2bc46 (patch) | |
tree | b6c46c9adf42940570059cdf1344a7913f099d2c /utils | |
parent | cac03529860e0fd19585b35a66f5de4f0ea0559d (diff) | |
download | searxng-309147d86f08f69ce1467aa4d25d3d6a56b2bc46.tar.gz searxng-309147d86f08f69ce1467aa4d25d3d6a56b2bc46.zip |
[mod] introduce node.env.devtools function
Diffstat (limited to 'utils')
-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 } |