Commit bc20fd10 authored by Ophélie Gagnard's avatar Ophélie Gagnard

installation: Fix and update libnetworkcache installation.

parent d8d73b89
...@@ -12,11 +12,14 @@ git config --global user.email "ophelie.gagnard@nexedi.com" ...@@ -12,11 +12,14 @@ git config --global user.email "ophelie.gagnard@nexedi.com"
git config --global user.name "Ophelie Gagnard" git config --global user.name "Ophelie Gagnard"
#pip install slapos.libnetworkcache #pip install slapos.libnetworkcache
NC_DIR=identifier_slapos.libnetworkcache NC_DIR=strategies_slapos.libnetworkcache # NC for NetworkCache
if [ ! -d slapos.libnetworkcache ]; then cd ..
if [ ! -d "$NC_DIR" ]; then
git clone https://lab.nexedi.com/Ophelie/slapos.libnetworkcache.git "$NC_DIR" git clone https://lab.nexedi.com/Ophelie/slapos.libnetworkcache.git "$NC_DIR"
cd "$NC_DIR" cd "$NC_DIR"
git checkout identifier git checkout strategies
cd .. cd ..
pip install -e "$NC_DIR"
fi fi
pip install -e "$NC_DIR" pip install packaging
cd installation
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment