Fix edge cases in install scripts

This commit is contained in:
Markus Unterwaditzer 2014-04-15 22:01:32 +02:00
parent 0684f784ea
commit 9041cfc6a9
2 changed files with 3 additions and 1 deletions

View file

@ -1,7 +1,7 @@
#!/bin/sh
echo "The shell is $SHELL"
set -e
[ -n "$DAV_SERVER" ] || DAV_SERVER=radicale_filesystem
[ -n "$DAV_SERVER" ] || DAV_SERVER=radicale
[ -n "$REQUIREMENTS" ] || REQUIREMENTS=release
TESTSERVER_BASE=./tests/storage/dav/servers/

View file

@ -1,5 +1,7 @@
#!/bin/sh
set -e
[ -n "$REQUIREMENTS" ] || export REQUIREMENTS=release
[ -n "$RADICALE_BACKEND" ] || export RADICALE_BACKEND=filesystem
if [ "$REQUIREMENTS" = "release" ]; then
radicale_pkg="radicale"