diff --git a/setup.sh b/setup.sh index f11dbb6..bbddf5d 100644 --- a/setup.sh +++ b/setup.sh @@ -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