various corrections to permit succesfull builds
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user