From 75e9a7c6e39692d0100f99f2d63a69526e61656d Mon Sep 17 00:00:00 2001 From: Mads Engel Lundt Date: Tue, 29 Aug 2017 17:40:48 +0200 Subject: [PATCH] Updated to rclone 1.37 --- README.md | 4 ++-- setup.sh | 18 +++++++++--------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index c07a987..1b8027e 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ These scripts are created to have your media synced between your cloud- and local store. All media is always encrypted before being uploaded. This also means if you loose your encryption keys you can't read your media. -**Plexdrive version 4.0.0 and Rclone version 1.36 is used.** +**Plexdrive version 4.0.0 and Rclone version 1.37 is used.** There is a setup file, `setup.sh`, to install the necessary stuff automatically. This has only been tested on Ubuntu 16.04+. @@ -61,7 +61,7 @@ To install the necessary stuff manually do the following: 1. Install unionfs-fuse. 2. Install bc. 3. Install GNU screen. -4. Install [Rclone 1.36](https://downloads.rclone.org/rclone-current-linux-amd64.zip). +4. Install [Rclone 1.37](https://github.com/ncw/rclone/releases/download/v1.37/rclone-v1.37-linux-amd64). 5. Install [Plexdrive 4.0.0](https://github.com/dweidenfeld/plexdrive/releases/download/4.0.0/plexdrive-linux-amd64). 6. Create the folders pointing, in the config file, to `local_decrypt_dir` and `plexdrive_temp_dir`. 7. Run rclone bin, installed in step 4, with the parameter `--config=RCLONE_CONFIG config` where `RCLONE_CONFIG` is the variable set in the config file. diff --git a/setup.sh b/setup.sh index fb40c84..24812ca 100644 --- a/setup.sh +++ b/setup.sh @@ -5,13 +5,13 @@ ################################### ########## DOWNLOADS ########## # Rclone -_rclone_url="https://github.com/ncw/rclone/releases/download/v1.36/rclone-v1.36-linux-amd64.zip" -_rclone_zip="rclone-v1.36-linux-amd64.zip" -_rclone_dir="rclone-v1.36-linux-amd64" +_rclone_release="rclone-v1.37-linux-amd64" +_rclone_zip="${_rclone_release}.zip" +_rclone_url="https://github.com/ncw/rclone/releases/download/v1.37/${_rclone_zip}" # Plexdrive -_plexdrive_url="https://github.com/dweidenfeld/plexdrive/releases/download/4.0.0/plexdrive-linux-amd64" _plexdrive_bin="plexdrive-linux-amd64" +_plexdrive_url="https://github.com/dweidenfeld/plexdrive/releases/download/4.0.0/${_plexdrive_bin}" ################################### apt-get update @@ -21,15 +21,15 @@ apt-get install screen -y apt-get install unzip -y apt-get install fuse -y -if [ ! -d "${rclone_dir}" ]; then - mkdir "${rclone_dir}" +if [ ! -d "${_rclone_release}" ]; then + mkdir "${_rclone_release}" fi wget "${_rclone_url}" unzip "${_rclone_zip}" -chmod a+x "${_rclone_dir}/rclone" -cp -rf "${_rclone_dir}/*" "${rclone_dir}/" +chmod a+x "${_rclone_release}/rclone" +cp -rf "${_rclone_release}/*" "${_rclone_release}/" rm -rf "${_rclone_zip}" -rm -rf "${_rclone_dir}" +rm -rf "${_rclone_release}" if [ ! -d "${plexdrive_dir}" ]; then