mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-04-27 14:57:41 +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 --editable .
|
||||||
$PIP_INSTALL -r requirements.txt
|
$PIP_INSTALL -r requirements.txt
|
||||||
[ -n "$DAV_SERVER" ] || DAV_SERVER=radicale_filesystem
|
[ -n "$DAV_SERVER" ] || DAV_SERVER=radicale_filesystem
|
||||||
|
[ -n "$REQUIREMENTS" ] || REQUIREMENTS=release
|
||||||
|
|
||||||
davserver_radicale_filesystem() {
|
davserver_radicale_filesystem() {
|
||||||
radicale_deps
|
radicale_deps
|
||||||
|
|
@ -22,6 +23,7 @@ radicale_deps() {
|
||||||
elif [ "$REQUIREMENTS" = "devel" ]; then
|
elif [ "$REQUIREMENTS" = "devel" ]; then
|
||||||
radicale_pkg="git+https://github.com/Kozea/Radicale.git"
|
radicale_pkg="git+https://github.com/Kozea/Radicale.git"
|
||||||
else
|
else
|
||||||
|
echo "Invalid requirements envvar"
|
||||||
false
|
false
|
||||||
fi
|
fi
|
||||||
$PIP_INSTALL werkzeug $radicale_pkg
|
$PIP_INSTALL werkzeug $radicale_pkg
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue