Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use software-properties-common instead of python-software-properties #263

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions install-deps
Original file line number Diff line number Diff line change
Expand Up @@ -174,19 +174,18 @@ elif [[ "$(uname)" == 'Linux' ]]; then
else
echo "Some portion of the update is failed"
fi
# python-software-properties is required for apt-add-repository
sudo apt-get install -y python-software-properties
# software-properties-common is required for apt-add-repository
sudo apt-get install -y software-properties-common
echo "==> Found Ubuntu version ${ubuntu_major_version}.xx"
if [[ $ubuntu_major_version -lt '12' ]]; then
echo '==> Ubuntu version not supported.'
exit 1
elif [[ $ubuntu_major_version -lt '14' ]]; then # 12.xx
sudo -E add-apt-repository -y ppa:chris-lea/zeromq
elif [[ $ubuntu_major_version -lt '15' ]]; then # 14.xx
sudo -E apt-get install -y software-properties-common
sudo -E add-apt-repository -y ppa:jtaylor/ipython
else
sudo apt-get install -y software-properties-common \
sudo apt-get install -y \
libgraphicsmagick1-dev libfftw3-dev sox libsox-dev \
libsox-fmt-all
fi
Expand Down Expand Up @@ -257,11 +256,11 @@ elif [[ "$(uname)" == 'Linux' ]]; then
else
echo "Some portion of the update is failed"
fi
# python-software-properties is required for apt-add-repository
sudo apt-get install -y python-software-properties
# software-properties-common is required for apt-add-repository
sudo apt-get install -y software-properties-common
if [[ $elementary_version == '0.3' ]]; then
echo '==> Found Ubuntu version 14.xx based elementary installation, installing dependencies'
sudo apt-get install -y software-properties-common \
sudo apt-get install -y \
libgraphicsmagick1-dev libfftw3-dev sox libsox-dev \
libsox-fmt-all

Expand Down