From 72e3146d2b15a723b03cda33bef62c4851f73c9a Mon Sep 17 00:00:00 2001 From: Mads Lundt Date: Mon, 25 Sep 2017 15:18:32 +0200 Subject: [PATCH] Update setup.sh --- setup.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/setup.sh b/setup.sh index 24812ca..b6cdcd5 100644 --- a/setup.sh +++ b/setup.sh @@ -21,13 +21,13 @@ apt-get install screen -y apt-get install unzip -y apt-get install fuse -y -if [ ! -d "${_rclone_release}" ]; then - mkdir "${_rclone_release}" +if [ ! -d "${rclone_dir}" ]; then + mkdir "${rclone_dir}" fi wget "${_rclone_url}" unzip "${_rclone_zip}" chmod a+x "${_rclone_release}/rclone" -cp -rf "${_rclone_release}/*" "${_rclone_release}/" +cp -rf "${_rclone_release}/*" "${rclone_dir}/" rm -rf "${_rclone_zip}" rm -rf "${_rclone_release}"