mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-04-05 10:45:51 +00:00
23 lines
580 B
Bash
Executable file
23 lines
580 B
Bash
Executable file
#!/bin/sh
|
|
pip install --use-mirrors .
|
|
pip install --use-mirrors -r requirements.txt
|
|
[[ -z "$DAV_SERVER" ]] && DAV_SERVER=radicale
|
|
[[ -z "$RADICALE_STORAGE" ]] && RADICALE_STORAGE=filesystem
|
|
|
|
davserver_radicale() {
|
|
pip install --use-mirrors radicale
|
|
radicale_deps
|
|
}
|
|
|
|
davserver_radicale_git() {
|
|
pip install git+https://github.com/Kozea/Radicale.git
|
|
radicale_deps
|
|
}
|
|
|
|
radicale_deps() { radicale_storage_$RADICALE_STORAGE; }
|
|
|
|
radicale_storage_database() { pip install --use-mirrors sqlalchemy pysqlite; }
|
|
radicale_storage_filesystem() { true; }
|
|
|
|
|
|
davserver_$DAV_SERVER
|