various corrections to permit succesfull builds

This commit is contained in:
2016-05-15 22:28:59 +01:00
parent 372944dc81
commit b7072dd538
15 changed files with 201 additions and 36 deletions

View File

@@ -1,6 +1,6 @@
#!/bin/bash
set -e
if [[ ! -e $BTSYNC_CONFIG ]]; then
if [ ! -e $BTSYNC_CONFIG ]; then
mkdir -p `dirname $BTSYNC_CONFIG`
/opt/btsync --dump-sample-config > $BTSYNC_CONFIG
sed -i "s,// \(\"storage_path\"\).*, \1 : \"$BTSYNC_DATA\"\,," $BTSYNC_CONFIG