aboutsummaryrefslogtreecommitdiff
path: root/src/node/install.sh
diff options
context:
space:
mode:
authorSamruddhi Khandale <skhandale@microsoft.com>2022-10-29 02:50:48 +0300
committerGitHub <noreply@github.com>2022-10-29 02:50:48 +0300
commit9366ef7ed18ed63a360d343338bda4ce41e62d09 (patch)
tree524e342dfb384d708a1b9568f41d3dc60d0b417e /src/node/install.sh
parentf1c981d0643f8791c8bdc586cf14851b8c236bf1 (diff)
Node: Fix failure when `version:none` (#247)
fix version:none
Diffstat (limited to 'src/node/install.sh')
-rwxr-xr-xsrc/node/install.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/node/install.sh b/src/node/install.sh
index cc5e1dc..f51306e 100755
--- a/src/node/install.sh
+++ b/src/node/install.sh
@@ -205,6 +205,7 @@ rm -rf /var/lib/apt/lists/*
# Ensure privs are correct for installed node versions. Unfortunately the
# way nvm installs node versions pulls privs from the tar which does not
# have group write set. We need this when the gid/uid is updated.
+mkdir -p "${NVM_DIR}/versions"
chmod -R g+rw "${NVM_DIR}/versions"
echo "Done!"