Skip to content

Commit

Permalink
Don't fail if ffmpeg is not in repository
Browse files Browse the repository at this point in the history
On Ubuntu 14.04 ffmpeg is not available in the default repository.
In that case, print a warning and install the remaining dependencies.
  • Loading branch information
bit committed Aug 12, 2016
1 parent c627e0c commit 240ede9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions install_deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ echo "Installing dependencies..."

# Install OS-specific dependencies
if [[ "$OSTYPE" == "linux-gnu" ]]; then
apt-get update
apt-get update -qq
apt-get install -y zlib1g-dev automake autoconf git \
libtool subversion libatlas3-base ffmpeg python-pip \
libtool subversion libatlas3-base python-pip \
python-dev wget unzip

apt-get install -y ffmpeg || echo -n "\n\nYou have to install ffmpeg from a PPA or from https://ffmpeg.org before you can run gentle\n\n"
pip install .
elif [[ "$OSTYPE" == "darwin"* ]]; then
brew install ffmpeg libtool automake autoconf wget
Expand Down

0 comments on commit 240ede9

Please sign in to comment.