mirror of https://github.com/icedream/ts3bot.git
Fix npm_config_wcjs environment variables.
parent
bd3846dcc9
commit
de8e9274d3
2
setup.sh
2
setup.sh
|
@ -48,7 +48,7 @@ wget https://github.com/icedream/ts3bot-control/archive/${TS3BOT_COMMIT}.tar.gz
|
|||
/sbin/setuser app tar xzv
|
||||
mv ts3bot-control* ts3bot
|
||||
(cd ts3bot && \
|
||||
npm_config_wcjs_runtime_version="$(nodejs --version | tr -d 'v')" \
|
||||
npm_config_wcjs_runtime="node" npm_config_wcjs_runtime_version="0.12.7" \
|
||||
/sbin/setuser app npm install)
|
||||
|
||||
# Install youtube-dl (actually done by npm already in a non-system-wide way)
|
||||
|
|
Loading…
Reference in New Issue