mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-03-25 08:55:50 +00:00
Fix install-deps.sh
Install-deps would fail without requirements envvar set
This commit is contained in:
parent
1a4035a5d8
commit
bf94d452cd
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue