Hacky fix for youtube-dl permissions.

master
Icedream 2016-04-09 17:00:08 +02:00
parent cfaad888fb
commit 2151876085
1 changed files with 3 additions and 0 deletions

View File

@ -33,6 +33,9 @@ rm ./ts3client.run
npm_config_wcjs_runtime="node" npm_config_wcjs_runtime_version="$(node --version | tr -d 'v')" \
npm install --unsafe-perm -g "https://github.com/icedream/ts3bot-control#${TS3BOT_COMMIT}"
# Fix for youtube-dl
chmod a+rx "$(dirname "$(readlink -f "$(which ts3bot)")")/node_modules/youtube-dl/bin/youtube-dl"
# Clean up APT
apt-get autoremove -y --purge wget cmake cmake-data
apt-get clean