From d71257422c2fee448e3008c2b952ca7a8be68c7c Mon Sep 17 00:00:00 2001 From: MichaelOultram Date: Fri, 14 Aug 2015 10:48:40 +0100 Subject: [PATCH] Using pip to install youtube-dl --- circle.yml | 4 +--- install-dependencies.sh | 9 --------- 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/circle.yml b/circle.yml index 936fb68..a0c815b 100644 --- a/circle.yml +++ b/circle.yml @@ -7,10 +7,8 @@ machine: dependencies: pre: - - ffmpeg -version - - sudo apt-get remove -y ffmpeg - - ffmpeg -version - bash install-dependencies.sh + - pip install youtube-dl - ffmpeg -version override: diff --git a/install-dependencies.sh b/install-dependencies.sh index 2331fb7..a42e213 100644 --- a/install-dependencies.sh +++ b/install-dependencies.sh @@ -20,13 +20,4 @@ if [ ! -d "$HOME/opus/lib" ]; then cd opus-1.0.3 && ./configure --prefix=$HOME/opus && make && make install else echo 'Using cached version of opus.'; -fi - -# check to see if youtube-dl is installed -if [ ! -f "$HOME/bin/youtube-dl" ]; then - echo 'Installing youtube-dl' - curl https://yt-dl.org/downloads/2015.07.28/youtube-dl -o ~/bin/youtube-dl - chmod a+rx ~/bin/youtube-dl -else - echo 'Using cached version of youtube-dl.'; fi \ No newline at end of file