diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2024-12-07 02:38:36 +0200 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2024-12-07 02:38:36 +0200 |
commit | 237a32846ad4a8f8634a68f0a92c71c49807de26 (patch) | |
tree | 563ae5b8a4e6cb7679b7f6c6251a204dcaefebaa | |
parent | 59cc8b9e39bb849175cc101865224d2487b2876d (diff) | |
download | arching-kaos-tools-237a32846ad4a8f8634a68f0a92c71c49807de26.tar.gz arching-kaos-tools-237a32846ad4a8f8634a68f0a92c71c49807de26.tar.bz2 arching-kaos-tools-237a32846ad4a8f8634a68f0a92c71c49807de26.zip |
Load nvm after installing
-rwxr-xr-x | install.sh | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -96,6 +96,8 @@ do fi printf "\t nvm installed!" printf "\t Installing latest nodejs..." + export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")" + [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm nvm install $(nvm ls-remote|tail -n 1) if [ $? -ne 0 ] then |