openmedialibrary_platform/Linux_x86_64/update.sh
2014-05-17 20:03:47 +02:00

11 lines
283 B
Bash
Executable file

HOME=`pwd`/home
mkdir $HOME
export PIP_DOWNLOAD_CACHE=$HOME/../../../pip_cache
pip install -r ../../openmedialibrary/requirements.txt -I --user
mkdir old
mv lib bin old
mv home/.local/lib lib
mv home/.local/bin bin
rm -r home old
#sed -i "s#bin/python#bin/env python#" bin/gunicorn