From a88a9fd51d884b7fb72ce7391c9d567a43bee5c7 Mon Sep 17 00:00:00 2001 From: Rik Veenboer Date: Wed, 20 Apr 2016 22:24:55 +0100 Subject: [PATCH] Minor corrections --- build/scripts/btsync.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/build/scripts/btsync.sh b/build/scripts/btsync.sh index df6cb79..5e308f0 100755 --- a/build/scripts/btsync.sh +++ b/build/scripts/btsync.sh @@ -8,11 +8,12 @@ export_env BTSYNC_CONFIG /host/etc/btsync/btsync.conf export_env BTSYNC_DATA /host/var/btsync ## BTsync -cd opt +cd /opt wget -O btsync.tar.gz http://download-lb.utorrent.com/endpoint/btsync/os/linux-x64/track/stable -tar xzf btsync.tar.gz +tar xzf btsync.tar.gz btsync ## Remove installation files if [ $MODE == "minimal" ]; then + cd /opt rm btsync.tar.gz fi \ No newline at end of file