Node: Remove unneccessary chmod command
This commit is contained in:
parent
8d3e9aca9d
commit
396626aca0
2 changed files with 1 additions and 7 deletions
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"id": "node",
|
"id": "node",
|
||||||
"version": "1.2.0",
|
"version": "1.2.1",
|
||||||
"name": "Node.js (via nvm), yarn and pnpm",
|
"name": "Node.js (via nvm), yarn and pnpm",
|
||||||
"documentationURL": "https://github.com/devcontainers/features/tree/main/src/node",
|
"documentationURL": "https://github.com/devcontainers/features/tree/main/src/node",
|
||||||
"description": "Installs Node.js, nvm, yarn, pnpm, and needed dependencies.",
|
"description": "Installs Node.js, nvm, yarn, pnpm, and needed dependencies.",
|
||||||
|
|
|
@ -221,10 +221,4 @@ fi
|
||||||
su ${USERNAME} -c "umask 0002 && . $NVM_DIR/nvm.sh && nvm clear-cache"
|
su ${USERNAME} -c "umask 0002 && . $NVM_DIR/nvm.sh && nvm clear-cache"
|
||||||
rm -rf /var/lib/apt/lists/*
|
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!"
|
echo "Done!"
|
||||||
|
|
Loading…
Reference in a new issue