Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

install.sh: fix harmless error message on install

Nick Craig-Wood96f8b7c82726
diff --git a/docs/content/install.sh b/docs/content/install.sh
index 302882d82..075e6deef 100755
--- a/docs/content/install.sh
+++ b/docs/content/install.sh
@@ -193,12 +193,12 @@ case "$OS" in
exit 2
esac
-#cleanup
-rm -rf "$tmp_dir"
-
#update version variable post install
version=$(rclone --version 2>>errors | head -n 1)
+#cleanup
+rm -rf "$tmp_dir"
+
printf "\n${version} has successfully installed."
printf '\nNow run "rclone config" for setup. Check https://rclone.org/docs/ for more details.\n\n'
exit 0