openmedialibrary_platform/Shared/update.sh

10 lines
282 B
Bash
Raw Normal View History

2013-10-11 17:28:32 +00:00
HOME=`pwd`/home
mkdir $HOME
export PIP_DOWNLOAD_CACHE=$HOME/../../pip_cache
pip install -r ../../openmedialibrary/requirements-shared.txt -I --user --allow-external pyPdf --allow-unverified pyPdf
mkdir old
mv lib bin old
mv home/.local/lib lib
mv home/.local/bin bin
rm -r home old