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