Skip to content
Snippets Groups Projects
Commit b82939d0 authored by ale's avatar ale
Browse files

add dependency on ca-certificates

parent a4280f98
No related branches found
No related tags found
No related merge requests found
......@@ -3,6 +3,8 @@
# Quick installation script for new hosts.
#
export DEBIAN_FRONTEND=noninteractive LANG=C
repo_url=https://git.autistici.org/ale/minicl.git
ca_url=http://www.autistici.org/static/certs/ca.crt
......@@ -13,14 +15,14 @@ fi
set -e
apt-get update
apt-get install -q -y python python-dev python-setuptools git ca-certificates
if [ ! -e /usr/local/share/ca-certificates/autistici.org.crt ]; then
wget -O /usr/local/share/ca-certificates/autistici.org.crt $ca_url
update-ca-certificates
fi
export DEBIAN_FRONTEND=noninteractive
apt-get update
apt-get install -q -y python python-dev python-setuptools git
easy_install -U pip
pip install --upgrade "git+${repo_url}#egg=minicl"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment