mirror of https://github.com/icedream/ts3bot.git
Revert to old npm_config_wcjs_runtime_version fix and install dependencies as root instead of as app user.
parent
de8e9274d3
commit
ca79736310
4
setup.sh
4
setup.sh
|
@ -48,8 +48,8 @@ wget https://github.com/icedream/ts3bot-control/archive/${TS3BOT_COMMIT}.tar.gz
|
||||||
/sbin/setuser app tar xzv
|
/sbin/setuser app tar xzv
|
||||||
mv ts3bot-control* ts3bot
|
mv ts3bot-control* ts3bot
|
||||||
(cd ts3bot && \
|
(cd ts3bot && \
|
||||||
npm_config_wcjs_runtime="node" npm_config_wcjs_runtime_version="0.12.7" \
|
npm_config_wcjs_runtime="node" npm_config_wcjs_runtime_version="$(nodejs --version | tr -d 'v')" \
|
||||||
/sbin/setuser app npm install)
|
npm install)
|
||||||
|
|
||||||
# Install youtube-dl (actually done by npm already in a non-system-wide way)
|
# Install youtube-dl (actually done by npm already in a non-system-wide way)
|
||||||
#ADD https://yt-dl.org/latest/youtube-dl /usr/local/bin/youtube-dl
|
#ADD https://yt-dl.org/latest/youtube-dl /usr/local/bin/youtube-dl
|
||||||
|
|
Loading…
Reference in New Issue