hilfe mein git ist komisch
This commit is contained in:
11
etc/profile.d/nodenv.sh
Executable file
11
etc/profile.d/nodenv.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/bin/sh
|
||||
# Prepare .nodenv enviroment and inject shims into PATH for psacln members
|
||||
|
||||
if id -Gn | grep -q '\bpsacln\b'; then
|
||||
if [ ! -e ~/.nodenv ] ; then
|
||||
mkdir -p ~/.nodenv
|
||||
ln -snfT "/opt/plesk/node" ~/.nodenv/versions
|
||||
fi
|
||||
|
||||
eval "$(nodenv init -)"
|
||||
fi
|
||||
Reference in New Issue
Block a user