Skip to content

Commit f30b980

Browse files
authored
NodeJS Support
1 parent 90f5e24 commit f30b980

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

install/upgrade/versions/1.3.0.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,13 @@
55
#######################################################################################
66
####### Place additional commands below. #######
77
#######################################################################################
8+
9+
# Add NPM to the default writeable folder list
10+
echo "[ * ] Updating default writable folders for all users..."
11+
for user in $($HESTIA/bin/v-list-sys-users plain); do
12+
mkdir -p \
13+
$HOMEDIR/$user/.npm
14+
15+
chown $user:$user \
16+
$HOMEDIR/$user/.npm
17+
done

0 commit comments

Comments
 (0)