Fix install-deps.sh

Install-deps would fail without requirements envvar set
This commit is contained in:
Markus Unterwaditzer 2014-03-23 17:45:47 +01:00
parent 1a4035a5d8
commit bf94d452cd

View file

@ -6,6 +6,7 @@ PIP_INSTALL="pip install --use-mirrors"
$PIP_INSTALL --editable .
$PIP_INSTALL -r requirements.txt
[ -n "$DAV_SERVER" ] || DAV_SERVER=radicale_filesystem
[ -n "$REQUIREMENTS" ] || REQUIREMENTS=release
davserver_radicale_filesystem() {
radicale_deps
@ -22,6 +23,7 @@ radicale_deps() {
elif [ "$REQUIREMENTS" = "devel" ]; then
radicale_pkg="git+https://github.com/Kozea/Radicale.git"
else
echo "Invalid requirements envvar"
false
fi
$PIP_INSTALL werkzeug $radicale_pkg