Work around broken venv module in Ubuntu 16.04 / Debian 9

This commit is contained in:
j 2017-11-07 19:44:47 +01:00
parent 563902e129
commit e76a52b8ba

5
ctl
View file

@ -10,6 +10,11 @@ if [ "$action" = "init" ]; then
cd "`dirname "$0"`" cd "`dirname "$0"`"
BASE=`pwd` BASE=`pwd`
python3 -m venv --system-site-packages . python3 -m venv --system-site-packages .
# Work around broken venv module in Ubuntu 16.04 / Debian 9
if [ ! -e bin/pip ]; then
bin/python3 -m pip install -U pip
fi
if [ ! -d static/oxjs ]; then if [ ! -d static/oxjs ]; then
git clone --depth 1 https://git.0x2620.org/oxjs.git static/oxjs git clone --depth 1 https://git.0x2620.org/oxjs.git static/oxjs
fi fi