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

Fix the installation of the "software-properties-common" dependency in install-deps #292

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
6 changes: 4 additions & 2 deletions install-deps
Original file line number Diff line number Diff line change
Expand Up @@ -174,13 +174,15 @@ 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
# python-software-properties (if the ubuntu version is less than 14.xx)
# or software-properties-common (otherwise) is required for
# apt-add-repository
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 apt-get install -y python-software-properties
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
Expand Down